-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiselection at once for Multiselect Combobox #5930
Comments
With the following workaround it works as expected:
What is doing is basically to overwrite the "__selectItem" method with a new version that is missing the following line:
That avoids clearing the filter when an item is selecting. With this change the component seems to behave well: Maybe it would be a nice idea to enable this with a method like: |
Apart from the
I suppose that fixing this would require making this behavior in |
There is a different type of workaround here https://gist.github.com/TatuLund/6610a522c6048c8dfdf67d360b83825b That workaround is not is not very good in UX as dropdown is closed and re-opened, hence some un-necessary delay. |
Describe your motivation
Right now if you type a filter and then select an item, when clicking on the item, it will remove the text that you entered to filter the item, select the item and then display all of the items starting from the first one. Sometimes you have an extensive data set and you spent some time writing the filter text and you want to select more than one item that matched the filter, then you need to write the filter again, and that involves several rountrips (and waiting) until you can select the other item. It get worse if you want to select more (4 or 5)
Describe the solution you'd like
It would be great that after entering the filter text, the user would be allowed to select more than one item, leaving the filter text still available.
Describe alternatives you've considered
No response
Additional context
Maybe it would be disabled by default, but it could be enabled by a special property or flag
The text was updated successfully, but these errors were encountered: