ComponentsMultiSelect

Multiselect

The Multiselect multiselect field is combo box field with multiple selections.

Example

{
  "component": "multiselect",
  "label": "Select one or more",
  "name": "my_multiselect",
  "block": true,
  "multiselectMode": "plain",
  "options": [
    {
      "value": "one",
      "label": "One"
    },
    {
      "value": "two",
      "label": "Two"
    },
    {
      "value": "three",
      "label": "Three"
    }
  ],
  "hint": "Multiple values are ok"
}
Loading...

Reference

PropertyTypeDescription
componentstring
= "multiselect"
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)
optionsarray
filterKeystring
filterValuestring
placeholderstring | i18nPlaceholder text, visibile when the field is empty
disabledbooleanDisables and greys out the field
readOnlybooleanPut the field in read only mode
hiddenbooleanHides the field from the form
classNamestringCSS class name to assign to the field container
Pick up a framework to show specific properties
React Suite