BooleanToggleSwitch
boolean
Description
Shows a toggle switch to set true or false.
Attributes
default
$capture.input
: render the control from this options check | toggle | radiocontrolAffinity
: mobile (flutter only). Where to place the toggle button,trailing
orleading
, default toleading
.
Example
{
"type": "boolean",
"$capture": {
"as": "boolean",
"input": "radio"
},
"$display": {},
"title": "Test boolean",
"controlAffinity": "trailing"
}