-
Notifications
You must be signed in to change notification settings - Fork 79
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
valueFunction gets triggered only on enter? not on select? #203
Comments
here is the output from debug - snipped in the middle for brevity The last bit suggests that the problem is that when I click on an item, Autcomplete thinks I've blurred the control by clicking outside
|
I just had the same problem and think this is correlated to setting Based on the source code I assume that the following happens: When an item in the autocomplete list gets clicked, the autocomplete input is blurred before the click is actually processed. Blurring the input triggers the event handler My "solution" was to simply not set |
Maybe I've missed a setting, but I am finding that valueFunction only gets called when the user selects an item from the list and hit "enter". This seems weird from a UI point of view as I would expect an item to be "selected" when I click on it..
I also notice that when I hit "enter" the valueFunction seems to be called twice?
The text was updated successfully, but these errors were encountered: