I am trying to implement a searchable dropdown (using Semantic UI React library) that is populated by matching results from the server. The user is presented with with an input box. As soon as they start typing a few characters, a request is made to a backend restful endpoint which returns matching search results. These results are displayed as values in the dropdown.
This was quite easy with plain Semantic UI (explained at https://semantic-ui.com/modules/dropdown.html#match-search-query-on-server).
But how can I achieve this with the React version of the library?
I can't figure out from the documentation (https://react.semantic-ui.com/modules/dropdown/#usage-remote).
Can someone provide me with an example?