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 using GwtChosen to select from a list of ~10,000 options that are stored server-side and using a custom results filter to asynchronously load the available options. I am running into an issue where the list of selected options is getting cleared out when selecting more than one option. The following is my code for the ResultsFilter.
From what I can tell, when someone selects an item, and then types something completely different and selects it, only the last select item is retained. It looks like this behavior is due to the way in which the rebuildResultItems() method clears out and then rebuilds the selectedValues array.
In my specific use case, I type something in, such as "BRCA" and after selecting the appropriate option, may type in "GALT" which will reach out to the server and return a list of options where "BRCA" does not exist. Then when the selectedValues list is rebuilt, the original "BRCA" will not be included since it is not in the newly returned list of options.
The text was updated successfully, but these errors were encountered:
I am using GwtChosen to select from a list of ~10,000 options that are stored server-side and using a custom results filter to asynchronously load the available options. I am running into an issue where the list of selected options is getting cleared out when selecting more than one option. The following is my code for the ResultsFilter.
From what I can tell, when someone selects an item, and then types something completely different and selects it, only the last select item is retained. It looks like this behavior is due to the way in which the rebuildResultItems() method clears out and then rebuilds the selectedValues array.
In my specific use case, I type something in, such as "BRCA" and after selecting the appropriate option, may type in "GALT" which will reach out to the server and return a list of options where "BRCA" does not exist. Then when the selectedValues list is rebuilt, the original "BRCA" will not be included since it is not in the newly returned list of options.
The text was updated successfully, but these errors were encountered: