RadioSelectInput
A radio group field: a RadioSelect handles display and keyboard interaction while an embedded hidden <input> carries the form submission.
Basic usage
Compared with RadioSelect: name is not written on each radio (exclusivity is guaranteed by the controlled state), and the component always has a selection — a value not among the selectable options falls back to the first selectable one, matching the "always one selected" semantics of HTML radio forms.
Invalid-value fallback: in the example below the initial fax is not among the options, so it falls back to the first selectable one ("Email") and submits email as usual:
API
The original forwards only data and label when building options, silently dropping options[].disabled; this implementation honors disabled as declared, matching CheckboxMultiselectInput and DropdownInput.
See also
- The interactive radio group: RadioSelect
- The dropdown field form: DropdownInput
- The checkbox group field: CheckboxMultiselectInput