Opened 12 years ago

Closed 12 years ago

#7508 closed enhancement (wontfix)

Show suggestions on focus?

Reported by: MartinF Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.autocomplete Version: 1.8.13
Keywords: Cc:
Blocked by: Blocking:



thanks for this great plugin.

Would it be possible to add an option so it will automatically show the suggestions when the input field recieves focus ?

Right now it hides the suggestions when it looses focus (blur), but it does not show it again when focus is back in the input field, so you currently have to delete a character and re-enter it to show the results from before.

Bascially i am suggesting to add an onfocus event to the inputfield that triggers showing the previous suggestions (if any).

Martin :)

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: wontfix
Status: newclosed

This is already trivial to do yourself, adding an option isn't a good idea.

element.focus(function() {
    $( this ).autocomplete( "search" );
Note: See TracTickets for help on using tickets.