interface RadioGroupProps @formium/react
Props
disabled
boolean

Whether the group and all its radios are disabled.

Required
id
string

Unique identifier field.

Required
name
string

Name of the group (i.e. the administrative key), used to link radio buttons together in HTML.

Required
onBlur
(event: SyntheticEvent) => void

Event handler invoked when input is blurred.

Required
onChange
(event: SyntheticEvent) => void

Callback invoked when the currently selected radio changes. Use event.target.value to read the currently selected value.

Required
options
OptionProps[]

Array of options to render in the group.

Required
required
boolean

Whether the group is required.

Required
value
string

Value of the selected radio. The child with this value will be :checked.

Required

Build forms, without the tears.