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
Hey, many thanks for this "simple" and effective stimulus controller.
I've been replacing ReactSelect throughout my apps with it.
However, there's still some UX that's bugging me. I'd like to have the first result automatically highlighted so that the user can press enter and select it. A good example is GitHub's search box in the navbar here.
Any ideas what's the easiest way to achieve that?
Thanks,
Stan
The text was updated successfully, but these errors were encountered:
That's a nice question, it would "force" a selection. I wanted this kind of selection or on "focus out", make the field blank for forcing html5 required validation. Any clues on how to do this ?
Ping @afcapel
Hey, many thanks for this "simple" and effective stimulus controller.
I've been replacing ReactSelect throughout my apps with it.
However, there's still some UX that's bugging me. I'd like to have the first result automatically highlighted so that the user can press enter and select it. A good example is GitHub's search box in the navbar here.
Any ideas what's the easiest way to achieve that?
Thanks,
Stan
The text was updated successfully, but these errors were encountered: