Select
A select box is a component that is entered by selecting from a set of options. Multiple selections are also possible depending on property settings.
Property
| No | Item | Input Value | Default Value | Action Property | Type | Action Default Value | Description |
|---|---|---|---|---|---|---|---|
| 1 | ID | String | Auto-generated | id | string | Auto-generated | The [id] property cannot be set by actions. |
| 2 | Label L | String | Select | label | string | Select | Component label |
| 3 | Width | String | 222 | width | string | 222 | Component width |
| 4 | Height | String | 55 | height | string | 55 | Component height |
| 5 | X | String | x | string | X coordinate position | ||
| 6 | Y | String | y | string | Y coordinate position | ||
| 7 | Lock | Boolean | OFF | lock | boolean | false | When ON, the component stays fixed even when the screen is scrolled. When OFF, the component moves along with the screen scroll. Added in v4.1.0. |
| 8 | Variant | Selection 1. Outlined 2. Filled 3. Standard | Outlined | variant | string | outlined | Component style |
| 9 | Legacy Design | Boolean | OFF | This is only effective when the Variant is set to Standard. When ON, the component is displayed with the legacy design. When OFF, the component is displayed with the new design. Added in v4.1.0 | |||
| 10 | Color | String Color Picker | color | string | Component color | ||
| 11 | Background Color | String Color Picker | backgroundColor | string | Background color | ||
| 12 | Label Color | String Color Picker | labelColor | string | Label color | ||
| 13 | Input Color | String Color Picker | inputColor | string | Input text color | ||
| 14 | Disabled | Boolean | OFF | disabled | boolean | false | Disabled state |
| 15 | Read Only | Boolean | OFF | readOnly | boolean | false | Read-only state |
| 16 | Required | Boolean | OFF | required | boolean | false | Required input field |
| 17 | Visibility | Boolean | ON | visibility | boolean | true | Component show/hide |
| 18 | Multiple | Boolean | OFF | multiple | boolean | false | Multiple selection enabled |
| 19 | Helper Text | String | helperText | string | Helper text | ||
| 20 | Options | Table format[Details 1] | [Details 1] | options | array of object | [Details 1] | Select box options |
| 21 | Change Event | Selection 1. None 2. Action 3. Detached Action | None | Event on value change Detached Action became selectable in v4.1.0. | |||
| 22 | Value | value | string, or array of string (refer to Tips above) | Select box value | |||
| 23 | Error | error | boolean | false | Error state | ||
| 24 | Detached Action | Selection 1. [Detached Action ID] | detachedAction | string | Set a detached action Added in v4.1.0. |
[Details 1] Option
The default status is registered as follows. Register a pair of "Label" and "Value" from the "ADD" button. To delete, select the check box and click the "DELETE" button.
| Selection | Label | Value |
|---|---|---|
| Checkbox | label1 | value1 |
| Checkbox | label2 | value2 |
Event
| Event name | Description |
|---|---|
| onchange | Occurs when a value change is made. |