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 codeReactNode
The content to display as the label.
string
The current value
string
className for the element
string
The id of the RadioField
boolean
Whether the RadioField should be checked. Ignored within a RadioGroup.
Default: falseboolean
Whether the RadioField should be disabled.
Default: falsestring
The name of the RadioField. Optional within a RadioGroup
ChangeEventHandler<HTMLInputElement>
Handler that is called when the value changes. Ignored within a RadioGroup