Radio

A reusable validation component for single radio button with integrated error handling

Examples

Basic usage

Please select an option

Properties

Name Type Required Description
@validationField string Yes The field name in the changeset for validation.
@changeset Changeset Yes The changeset object for form validation.
@value string Yes Value to pass to the changeset if the radio button is selected.
@label string No The label for the radio button.
@mandatory boolean No Whether the radio button selection is mandatory.
@disabled boolean No Whether the radio button is disabled.
@classless boolean No Whether to apply default CSS classes to the component.
@onChange function No The action to be called when the selection changes.