2018-03-29 17:04:47 -04:00

19 lines
382 B
Markdown

---
label: "Boolean"
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`: accepts `true` or `false`; defaults to `false`
- **Example:**
```yaml
- {label: "Draft", name: "draft", widget: "boolean", default: true}
```