The switch is a component that accepts a boolean value (true/false).
Properties
UI Dialog
Item | Input value | Option | Default value |
---|
ID | string | | automatic |
Label | string | | Switch |
Width | string | | 222 |
Height | string | | 40 |
X | string | | |
Y | string | | |
Color | string color picker | | |
Background Color | string color picker | | |
Label Color | string color picker | | |
Disabled | boolean | onoff | off |
Read Only | boolean | onoff | off |
Required | boolean | onoff | on |
Helper Text | string | | |
Value | boolean | onoff | off |
Error | - | | |
Change Event | select | NONEACTION | NONE |
Action
Item | Properties | Data Type | Options | Default value |
---|
ID | id | string | | automatic |
Label | label | string | | Switch |
Width | width | string | | 222 |
Height | height | string | | 40 |
X | x | string | | |
Y | y | string | | |
Color | color | string | | |
Background Color | backgroundColor | string | | |
Label Color | labelColor | string | | |
Disabled | disabled | boolean | truefalse | false |
Read Only | readOnly | boolean | truefalse | false |
Required | visibility | boolean | truefalse | true |
Helper Text | helperText | string | | |
Value | value | boolean | truefalse | false |
Error | error | boolean | | |
Tips
Event
Event name | Description |
---|
onchange | Occurs when a value change is made. |