-
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
Async Multiselect, options dropdown hides every time an option selected #1542
Comments
i desire to have the same effect of closing the options dropdown automatically but on the first case of basic multiselect. Can anyone hint me how to do this please? |
@cordoval try setting |
thanks! |
Have the same problem with async and multiselect |
I have the same problem with async and multiple. The option |
This was suggested and pull requested a long time ago #882 |
Since Jed approved changes in #1289 , while still someone need to keep the options after selection, I think it is better to add a configurable prop to Async, defining whether options should be cleared after selection on Async when |
I have the same problem |
@dspoonia7 Did you get the solution for this? I have the same issue. I am using Async |
@tridip1931 A workaround would be to extend the |
Hey @tridip1931, Yes I was able to get it working (It's been a while so not actually remember I got this). This solution worked for me.
Hope this is helpful :) |
Thanks @dspoonia7 @begincalendar I am quite new to @begincalendar Can you elaborate where to use clearOptions()? @dspoonia7 What different from the default component you did that made it work? Thanks 🙇 |
@tridip1931 Take a look at how So if you do something like this:
You are working around the issue by making |
I've changed the way this whole feature works (the changes will be published as rc.9 or final) so you can control this behaviour now. The menu will always close by default for both single and multi-select, but you can change it with the To keep suggestions from the Async component after selecting an option, also set |
@JedWatson is this implemented in "react-select": "^1.0.0-rc.3", ? Because that option is not working for me |
Reactjs TypeError: Unable to get property 'string' of undefined or null reference. |
In Async Multiselect (Select.Async), if multi-select is true then options dropdown hides every time an option selected. To see the dropdown I have to search/type. I want to keep dropdown opened instead of hiding it every time after selecting an option like happens in normal Multiselect.
A gif is attached showing issue
The text was updated successfully, but these errors were encountered: