RadioButton

RadioButtonSet can be used to render a set of RadioButtons to allow users to select exactly one item from a set. Like gender (male / female) or sizes (s,m,l,xl)

Example

Usage

NameTypeDescription
backgroundColorstringBackground color of the form item
checkedboolSet to true to controll radio button
childrennodeLabel of the radio button
idstringBackground color of the form item
inputReffuncreference to the input field
namestringThe name of this input field
onChangefuncCalled when a radio button is clicked
requiredboolMark if the RadioButton is requiredDefault: false
value (required)stringThe value the checkbox will have