Selected options occasionally don't render when options changes by a remote search.
I think that the displayed options (selected options) are based on the same options fetched remotely.
So when a selected option is not among the remotely searched options it is not displayed.
All three options selected (Alabama, Alaska, and California) are expected to be displayed.
Only the California option is displayed.
0.81.3
It's an expected behavior, all values should be defined in options.
Sorry to comment on an already-closed issue, but we have over 1000 items for the user to select from. I've set lazyLoad=true and minCharacters=2 but the UI is significantly slower than making multiple (debounced) API calls to our backend to provide filtered results. I could augment the options returned from our API call with the user's selected values, but that would defeat the purpose of this component doing much of the work for me.
This looks like a valid bug, and is a pretty typical use case. If you have a multi-select dropdown with a remote API that does the search and returns the filtered results, then there is no way to retain the already selected items.
Most helpful comment
Sorry to comment on an already-closed issue, but we have over 1000 items for the user to select from. I've set
lazyLoad=trueandminCharacters=2but the UI is significantly slower than making multiple (debounced) API calls to our backend to provide filtered results. I could augment theoptionsreturned from our API call with the user's selected values, but that would defeat the purpose of this component doing much of the work for me.