RadioField
A radio input allows people to select one option from a number of choices. The radio field is generally displayed in a radio group.
View source code- label
ReactNode
The content to display as the label.
- value
string
The current value
- className
string
className for the element
- id
string
The id of the RadioField
- isChecked
boolean
Whether the RadioField should be checked. Ignored within a RadioGroup.
Default: false - isDisabled
boolean
Whether the RadioField should be disabled.
Default: false - name
string
The name of the RadioField. Optional within a RadioGroup
- onChange
ChangeEventHandler<HTMLInputElement>
Handler that is called when the value changes. Ignored within a RadioGroup