Overview
Adds a toggle control to the form to store a boolean value.
Custom Configuration
For common configuration values, see UI Controls. Configuration values specific to this control are:
Config Property | Type | Description | Example Values |
size | String |
Optionally makes the control larger. |
size: lg |
width | String |
Optionally makes the control wider. |
width: lg |
invertValue | boolean |
If set to true, the control's value will be inverted ("ON" === false, "OFF" === true) |
invertValue: true |
Examples
- id: formToggle
modelPath: props.ENABLED
layout: first-column
config:
label: Enabled
- id: formToggle
modelPath: props.ENABLED
layout: first-column
config:
label: Enabled
size: lg
invertValue: true
Comments
0 comments
Please sign in to leave a comment.