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
after the new API in version 10.0.4 I tried to achieve the same old problem on comment #83 and since trigger doesn't work the same way my solution was:
_auto is the object instantiated via calling new autoComplete and is local to every input I'm setting it to (its inside forEach).
the problem is that I have multiple inputs that require the great lib that you have created(thank you!), and when I focus on any of them the first input's 'autoComplete_list_N' gets opened not the one bound to it.
if I log the event object after clicking on only ONE input I get the following output:
after the new API in version 10.0.4 I tried to achieve the same old problem on comment #83 and since trigger doesn't work the same way my solution was:
_auto is the object instantiated via calling
new autoComplete
and is local to every input I'm setting it to (its inside forEach).the problem is that I have multiple inputs that require the great lib that you have created(thank you!), and when I focus on any of them the first input's 'autoComplete_list_N' gets opened not the one bound to it.
if I log the event object after clicking on only ONE input I get the following output:
which is weird because only one
FocusEvent
should be fired.btw you forgot to close a tag(strong) on your demo at playground on
strong
tag atelement
section ->info.innerHTML =
Found ${data.matches.length} matching results for "${data.query}"</strong;
The text was updated successfully, but these errors were encountered: