Search Field
The search field is a one-line text field for entering a search string. Clicking the search icon in the component or pressing the Enter key activates the action.
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 | Search Field | label | string | Search Field | 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 | Visibility | Boolean | ON | visibility | boolean | true | Component show/hide |
| 17 | Placeholder | String | placeholder | string | Placeholder text | ||
| 18 | Helper Text | String | helperText | string | Helper text | ||
| 19 | Click Event | Selection 1. None 2. Action 3. Detached Action | Action | Event on click Detached Action became selectable in v4.1.0. | |||
| 20 | Value | String | value | string | Search field value | ||
| 21 | Error | error | boolean | false | Error state | ||
| 22 | Detached Action | Selection 1. [Detached Action ID] | detachedAction | string | Set a detached action Added in v4.1.0. | ||
| 23 | Tab Focus | Selection 1.[Component ID] | tabFocus | string | Next focus component specification Added in v3.3.0 |
Event
| Event name | Description |
|---|---|
| onclick | Occurs when clicking the search icon or pressing the Enter key. |