Checkbox Field
type: "checkbox"
A checkbox field to simply switch a boolean.
Additional Fields
Field | Type | Description |
---|---|---|
defaultValue | boolean? | The optional default value |
Example
mobro-widget-config.json
{
"config": [
{
"name": "example",
"label": "Example",
"type": "checkbox"
}
]
}
Usage
To consume the configured value of this field in a widget, see useCheckboxField.