Checkbox
Give users binary choices. Whether it is checked or not.
Properties
Property | Type | Description |
---|---|---|
name | string | Unique identifier for the checkbox component |
label | string | Text displayed next to the checkbox |
defaultValue | string (boolean ) | Code that returns the default value |
isDisabled | boolean | Whether the checkbox is disabled |
isHidden | boolean | Whether the checkbox is hidden in deployed pages |
name
Unique identifier for the checkbox component. Please refer to the component naming rules
label
Sets the text displayed on the left side of the checkbox. (Supports Template Text)
defaultValue
Sets the default checked value for the component.
Can be set through workflow results, direct input.
isDisabled
Sets the disabled state of the component.
Can be set through workflow results, direct input.
When enabled, prevents user interaction with the component.
isHidden
Controls visibility of the component.
When set to true:
- Hidden in deployed view
- Visible with reduced opacity in edit mode
States
Property | Type | Description |
---|---|---|
checked | boolean | Checked state of the checkbox |