Radio Group

A reusable validation component for radio button groups with integrated error handling and customizable options

Examples

Basic usage

Select an option
Disabled Radio Group
Radio Group with Error
A selection is mandatory
A selection is mandatory
A selection is mandatory

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 option is selected.
@groupLabel string No The label for the radio button group.
@mandatory boolean No Whether the radio group selection is mandatory.
@disabled boolean No Whether the radio group 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.