Radio Group
The Radio Group radio-group
field is a single choice field made with radio buttons.
Example
{
"component": "radio-group",
"label": "My radio group",
"name": "my_radio_group",
"options": [
{
"value": "one",
"label": "One"
},
{
"value": "two",
"label": "Two"
},
{
"value": "three",
"label": "Three"
}
],
"hint": "Select one of these",
"inline": true
}
Loading...
Reference
Property | Type | Description |
---|---|---|
component | string | = "radio-group" |
name | string | The name of the field and the key of the JSON |
label | string | i18n | Label of the field |
hint | string | i18n | Help text for the field (generally shown below the input box) |
options | array | |
disabled | boolean | Disables and greys out the field |
readOnly | boolean | Put the field in read only mode |
hidden | boolean | Hides the field from the form |
Pick up a framework to show specific properties |