AutoSuggest - restore original text when pressing UP on first suggestion
Reported by Stephen Elson | July 17th, 2009 @ 02:26 PM | in 1.7
I've had another request for the AutoSuggest behaviour:
"allowing the user to get back to their original search query. i.e. currently if you scroll down the list your query is over-written, but then you can't scroll back up to what you originally put in."
I had a look at doing this myself, but think it would need implementing your end to work cleanly.
The requirement is: when AutoComplete is turned on and the first suggestion is active, pressing the 'UP' key should restore the original input value rather than doing nothing.
This would also match the way the Firefox address bar does suggest/complete.
Comments and changes to this ticket
-
Stephen Elson July 17th, 2009 @ 05:10 PM
- Tag changed from enhancement to enhancement, widgets
-
Stephen Elson July 18th, 2009 @ 09:56 AM
- Tag changed from enhancement, widgets to autosuggest, enhancement, widgets
-
Stephen Elson July 24th, 2009 @ 03:22 PM
- State changed from new to accepted
-
Michael Mathews August 12th, 2009 @ 10:10 AM
- Assigned user set to Michael Mathews
- State changed from accepted to open
-
Michael Mathews August 12th, 2009 @ 03:12 PM
- State changed from open to review
Implemented:
-
ADD wrapping of selected item from top of list around to bottom of list as user moves selection up over the input element. Input element acts like it's one of the suggestions, so you can move selection up into the field itself.
-
KEEP behaviour of tab and rt arrow which closes the suggestions and keeps the selection.
-
CHANGE behaviour of esc. It currently closes the suggestions and keeps the selection. It will now close the suggestion and revert the input to its original value. Same for using arrows to move selection into the input element.
-
Michael Mathews August 13th, 2009 @ 11:12 AM
- State changed from review to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library