-
Notifications
You must be signed in to change notification settings - Fork 61
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
regression : search input is disabled if options are lazily loaded when the dropdown is displayed #297
Comments
@abenhamdine feel free to do a PR to fix that (keep in mind that the use case for accessibility needs to be fixed as well) |
@abenhamdine could you please share a codepen with that use case? |
I will try to find time to do it. |
Could you replicate it here? Maybe I'm missing something and you can go from that example and fork it |
@abenhamdine any update on this? |
When I try to use allowNewOption with an empty option, it also causes the search input to be disabled. Could you please enable the search input when allowNewOption is true? it worked perfectly before version 1.0.41 |
@funnygod I would say it would be better to create a separate issue and include a working example for your scenario that is not the same as reported here. |
Thank you, I will open a new issue. |
@abenhamdine any update on this? Did you get the chance to create a sample and/or test this with the latest version? |
Hi @abenhamdine |
hi, thx to try fix this |
Hi. Since I was not able to reproduce it I just wanted to understand if you could test it for your scenario since you never ended up sharing a sample with this issue. |
I just have tested version 1.0.43 and this issue is kind of mitigated, but still occurs : search input is still disabled when the user open the dropdown at first time, but when the dropdown is closed then reopened, the search input is now enabled. |
As mentioned, I was not able to replicate it so to fix it you can give it a try since I won't have time to dedicate to this atm. |
because of #276 :
and especially e4cd487#diff-7075f90f187d4b281f22b3136982040883bc7595e92f73267c6e47868729dd64R2335
we have many selects in our application where the search input is now disabled, probably because the options are lazily loaded when the dropdown is shown
The culprit code checks a condition on property
hasServerSearch
which is set to true whenonServerSearch
is a function.We don't use
onServerSearch
, but we didn't have to until now, it was working perfectly.This change is problematic, is it possible to revert it ?
The text was updated successfully, but these errors were encountered: