Checkbox Group
The Checkbox Group checkbox-group
field shows a list of configurable checkboxes, it returns an
array of string containing the selected options.
Example
{
"component": "checkbox-group",
"label": "My checkboxes",
"name": "my_checkbox_group",
"options": [
{
"value": "one",
"label": "One"
},
{
"value": "two",
"label": "Two"
},
{
"value": "three",
"label": "Three"
}
],
"hint": "Select one or more options",
"react-rsuite5": {
"inline": true
}
}
Loading...
Reference
Property | Type | Description |
---|---|---|
component | string | = "checkbox-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 | An array of objects containing these keys: value, label |
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 |