You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am looking at the api and it says you can use the close() method which closes the autocomplete dropdown menu. By using the examples/api.html I do not see that working. Here is the example:
It turns out this behavior was a side effect of another issue. When calling addItem(), it was giving the control focus—which isn't the intended behavior of the method. Because focus is deferred, the close() executed first, then the focus event re-opened the dropdown a split second later.
I am looking at the api and it says you can use the close() method which closes the autocomplete dropdown menu. By using the examples/api.html I do not see that working. Here is the example:
Am I missing something? Or calling this incorrectly?
The text was updated successfully, but these errors were encountered: