You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying get suggestion list from the server when the user enters a text. I am using onQueryTextListener onQueryTextChange callback to trigger a network call and once the suggestion list is fetched I am adding it to suggestion list using addSuggestion. The problem i am facing is that the suggestion list is not opening up even though a valid suggestion exists unless the user types it a next character.
Example Scenario:
User enters Java
Fetching data from network which gives Java, Javascript
Suggestion view is not opening up unless user enters "S" which then shows the suggestion as Javascript
What i want is that as soon as suggestion is added rerun the suggestion open or call a function which refreshes/opens the suggestion list.
The text was updated successfully, but these errors were encountered:
That's indeed a problem with the lib now. We have to create a way to trigger a new search if new items have been inserted into the suggestion list... Thanks for reporting it!
I have tested this on the upcoming 2.0.0-beta01 and it seems to be updated after new data comes in. I'll leave the issue open for a while after I make some tests, but I believe this is solved.
I am trying get suggestion list from the server when the user enters a text. I am using onQueryTextListener onQueryTextChange callback to trigger a network call and once the suggestion list is fetched I am adding it to suggestion list using addSuggestion. The problem i am facing is that the suggestion list is not opening up even though a valid suggestion exists unless the user types it a next character.
Example Scenario:
What i want is that as soon as suggestion is added rerun the suggestion open or call a function which refreshes/opens the suggestion list.
The text was updated successfully, but these errors were encountered: