Zoltes
Combining preloaded options and search results in Forms\Components\Select
Good day, everyone! I would like to improve user experience with choosing a client from a list in a resource form.
The current solution is based on getSearchResultsUsing. I do search in the DB when user enters a few chars. However, the delay for the search is a bit worse than I used to have in my old admin panel with React.
I would like to preload 50-100 most frequent clients in the Select to get instant search results, but I still need to append the Select list with the other not so frequent clients I found in the DB when the user types something in the input.
Can you please give me the direction to solve this. Would appreciate it!
4 replies