6e453b3f08
* make widget docs editable * update widget doc frontmatter keys * improve docs preview * fix formatting * fix preview * add prism highlighting for previews * fix formatting * restore cms branch
372 B
372 B
title | label |
---|---|
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}