-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Option to preserve inputValue after select item in multiselect #709
Comments
Would |
pass `hasSelectAll=true` prop to show "Select all" button in multiselect dropdown pass `selectAllText="Custom select all` prop to change default button text
…ctResetsInput=false` is passed
no, onBlurResetsInput is responsible for clearing or not clearing input when widget looses focus. I want the input value to be not cleared when some option is selected. |
I would also like to see this, even thought the list is preserved, when working with large volumes of data, the user can easily forget what they typed to get that list |
Use case: user types search text in text field to filter items in multiselect. Then he wants to select few of filtered items(more than one). In current implementation dropdown will be closed after selecting one of the items so user has to type search text again.
What about adding an option "preserveInputValue"? if it is true, search text will not be cleared after item selection.
I'm currently working on PR because I need it anyway in my project. Please tell me if this feature fits in your roadmap or you have any advices/suggestions.
The text was updated successfully, but these errors were encountered: