Skip to content

Switch

The switch is a component that accepts a boolean value (true/false).

Properties

UI Dialog

ItemInput valueOptionDefault value
IDstringautomatic
LabelstringSwitch
Widthstring222
Heightstring40
Xstring
Ystring
Colorstring
color picker
Background Colorstring
color picker
Label Colorstring
color picker
Disabledboolean
  • on
  • off
  • off
    Read Onlyboolean
  • on
  • off
  • off
    Requiredboolean
  • on
  • off
  • on
    Helper Textstring
    Valueboolean
  • on
  • off
  • off
    Error-
    Change Eventselect
  • NONE
  • ACTION
  • NONE

    Action

    ItemPropertiesData TypeOptionsDefault value
    IDidstringautomatic
    LabellabelstringSwitch
    Widthwidthstring222
    Heightheightstring40
    Xxstring
    Yystring
    Colorcolorstring
    Background ColorbackgroundColorstring
    Label ColorlabelColorstring
    Disableddisabledboolean
  • true
  • false
  • false
    Read OnlyreadOnlyboolean
  • true
  • false
  • false
    Requiredvisibilityboolean
  • true
  • false
  • true
    Helper TexthelperTextstring
    Valuevalueboolean
  • true
  • false
  • false
    Errorerrorboolean

    Tips

    Event

    Event nameDescription
    onchangeOccurs when a value change is made.