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
Trying to make what I think is a simple concept. I have thus far had a form with a single text input, that works as a search bar and GETs something like /search?q=TEXT. Now, I want to add "auto complete" functionality to it, that I may select one of the matching entries in order to open that page directly. I managed to do that like this:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
Trying to make what I think is a simple concept. I have thus far had a form with a single text input, that works as a search bar and
GET
s something like/search?q=TEXT
. Now, I want to add "auto complete" functionality to it, that I may select one of the matching entries in order to open that page directly. I managed to do that like this:However, I still want to the ability to press enter in order to submit a free text search query. That no longer works, as pressing enter does nothing.
I would also prefer that the first match was not automatically selected.
Beta Was this translation helpful? Give feedback.
All reactions