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
| Property | Type | Description | 
|---|---|---|
| component | string | = "toggle"  | 
| 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) | 
| 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 | 
| className | string | CSS class name to assign to the field container | 
Pick up a framework to show specific properties  | ||