ControlType
Defines the type of form control.src/editor/dataset/enum/Control.ts
Values
Text Input - Single or multi-line text input control
Dropdown Select - Dropdown selection from predefined options
Checkbox Group - Multiple checkbox options
Radio Buttons - Single selection from multiple options
Date Picker - Date selection control
Number Input - Numeric input with optional calculator
Usage
ControlComponent
Defines the component parts of a control.src/editor/dataset/enum/Control.ts
Values
Prefix text/symbol before the control
Postfix text/symbol after the control
Text before the control value
Text after the control value
Placeholder text when empty
The actual control value
Checkbox component
Radio button component
Example Structure
ControlIndentation
Defines how control content is indented.src/editor/dataset/enum/Control.ts
Values
Row Start - Indent from the beginning of the row
Value Start - Indent from where the value starts
Visual Comparison
ROW_START:Usage
ControlState
Defines the state of a control.src/editor/dataset/enum/Control.ts
Values
Active - Control is focused and being edited
Inactive - Control is not focused
Usage
Complete Example
Control Type Comparison
| Type | User Input | Value Type | Multiple | Options |
|---|---|---|---|---|
| TEXT | Keyboard | String | No | - |
| SELECT | Click | String | Optional | Required |
| CHECKBOX | Click | String[] | Yes | Required |
| RADIO | Click | String | No | Required |
| DATE | Picker | String | No | - |
| NUMBER | Keyboard | Number | No | - |