406 B
406 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
whenrequired
is set tofalse
- Example:
- {label: "Draft", name: "draft", widget: "boolean", default: true}