12 Switch
Feature Overview
The Switch widget is used for setting a binary state toggle, such as enabling or disabling.
Use Cases
It is suitable for scenarios like setting whether to enable a feature or to activate/deactivate a configuration.
Setting Method
Click on the Switch widget in the basic fields or drag and drop the Switch widget onto the canvas to complete the addition.
Widget Properties
Widget Properties | Settings Options | Settings Options Description |
Basic Properties | Name | Used to distinguish different widgets. |
Display Name | Used to control whether the widget name is displayed when filling out the form. | |
Width | Used to control the display width of the current widget when filling out the form. | |
Help Text | A question mark hover appears when filling out the form, which can display help text. | |
Permissions | Visibility Permissions: Visible, Conditionally Visible, Invisible; Edit Permissions (precondition: visibility permissions): Editable, Non-editable; Mandatory Permissions (precondition: edit permissions): Mandatory, Conditionally Mandatory, Not Mandatory; Field permissions only take effect in non-process forms; Additionally, conditionally visible and conditionally mandatory permissions take effect in both process and non-process forms. | |
Special Properties | Default | Tabs |
Enable text | Used to allow users to define the text displayed when the switch is turned on; this field is not required. | |
Disable text | Used to allow users to define the text displayed when the switch is turned off; this field is not required. |