How can I implement autosuggest/search and select in a text component?

I’m trying to implement a autosearch/select feature where the user can start typing and makes suggestions to select based on that search. Does this already exist or how can I do this?

Hey Alex,

While it may be possible to implement with a text input, I think that you might want to use the Dropdown component instead.

image

This component allows you to have a pre-set list of values that the user can select from, as well as search by typing. You can also enable custom entry so that the user may enter something that is not already in the list if desired.

The select component also has a .searchValue property that you could pull in to other queries!

2 Likes