Open almostlow opened 11 months ago
Need to do something similar as well. Would be nice to programmatically close the dropdown menu OR disable showing the dropdown menu when an item has been discarded from the MultiSelect component.
Why is it needed? In cases where we need to trigger a fetch request based on the selected items and it takes quite a while to fetch the items, the user might select several items (while the fetch is still in progress) which has the potential to create race conditions. This can cause the old data to be shown instead of the new.
@moreta hi, if you think this is a relevant addition, I could perhaps create a PR for this, Maybe adding a boolean prop to stop showing the dropdown after an unselect event.
Hello, there is possibility when i'm using MultiListSelect, don't hide menu, when i selecting specific option? Goal is to implement "Load more" button in dropdown. Using 2.9.3 version