583377bc92
* Fix widget example layout * Stop running MarkDown through Prettier.
375 B
375 B
label | target |
---|---|
Boolean | boolean |
The boolean widget translates a toggle switch input to a true/false value.
- Name:
boolean
- UI: toggle switch
- Data type: boolean
- Options:
default
: acceptstrue
orfalse
; defaults tofalse
- Example:
- { label: 'Draft', name: 'draft', widget: 'boolean', default: true }