Search Field Stable Dark theme
The Search Field is an input that initiates a search on submission.
<uimc-searchfield
>
</uimc-searchfield>
Attribute | Description | Values | Default |
---|---|---|---|
theme | Sets the background-color | light , gray , dark | light |
data | Defines optional words for autocompletion | Array of Strings | – |
placeholder | Sets the placeholder text | String | – |
prefix | Disables the default search icon on the left | search , none | search |
disabled | Disables interaction on this element | – | – |
theme | Set the color scheme of the component | light , gray , dark | light |
Callback | Argument | Description |
---|---|---|
onInput | event | Callback function that track changes as they type |
onChange | event | Callback function that gets triggered on blur when input has changed |