Components
Toggle

Toggle

The Toggle toggle field is boolean field, similar to checkbox.

Example

{
  "component": "toggle",
  "label": "My toggle",
  "name": "my_toggle",
  "hint": "Select yes or no"
}
Loading...

Reference

PropertyTypeDescription
componentstring
= "toggle"
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)
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