Components
Checkbox Group

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

PropertyTypeDescription
componentstring
= "checkbox-group"
namestringThe name of the field and the key of the JSON
labelstring | i18nLabel of the field
hintstring | i18nHelp text for the field (generally shown below the input box)
optionsarrayAn array of objects containing these keys: value, label
disabledbooleanDisables and greys out the field
readOnlybooleanPut the field in read only mode
hiddenbooleanHides the field from the form
Pick up a framework to show specific properties
Bootstrap
React Suite