Conversation
|
@JedWatson Did you manage to check this pr? Will appreciate if you can merge and release a new version as this fix a really important to solve the problematic behavior of the current async multiselect. Thanks! |
|
@JedWatson, @agirton now that this package get a bit more attention, can you please check this pr? Thanks! |
|
Hi @dekelb thank you for your contribution. It seems like this would call the API multiple times, what's the primary goal for adding the additional method calls? |
|
@agirton the main issue was introduced in https://github.com/JedWatson/react-select/pull/1508/files, in my code I was trying to revert that issue and fix the original problem there. The original problem was that when the value was changed, the internal list was not cleared, and there was nothing to show after choosing the first value. Clearing the internal state with |
|
This is the same issue described in #1753 as well, so I'm behind getting a solution merged for this. Haven't looked through this PR yet, but reissuing the empty query is along the lines of what I was proposing. |
|
Hi @dekelb haven't pulled this down locally, but couldn't you solve this by just removing the clearOptions method call without having to add two additional inputChange calls? |
|
@agirton I tried using |
|
thanks for this @dekelb, this has been fixed in a separate body of work by @JedWatson, |
This PR fixes #1542 and #1561
Original PR that caused this issue: #1508