Version: 5.0
Search
Props#
searchable#
Enables the search feature in the drop-down menu / modal.
| Type | Default |
|---|---|
| bool | false |
searchTextInputProps#
Adds native props for the text input.
| Type |
|---|
| TextInputProps |
disableLocalSearch#
Disables search between local items. This comes in handy for remote search.
- See:
onChangeSearchText
| Type | Default |
|---|---|
| bool | false |
addCustomItem#
Shows the searched text as an item when there's nothing to show.
| Type | Default |
|---|---|
| bool | false |
Placeholder Text#
Changes the placeholder text of the text input. Both of the following properties are available.
searchPlaceholder#
translation#
- See: Localization
Callbacks#
onChangeSearchText#
Callback that is called when the text changes in the text input.