Skip to content

Commit

Permalink
Autocomplete combobox demo: Reset the internal term property when an …
Browse files Browse the repository at this point in the history
…invalid selection is made. Fixes #6695 - Autocomplete combobox example does not show suggestion on second try.
  • Loading branch information
scottgonzalez committed Nov 30, 2010
1 parent 98f7e6a commit ddb4694
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/autocomplete/combobox.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
// remove invalid value, as it didn't match anything
$( this ).val( "" );
select.val( "" );
input.data( "autocomplete" ).term = "";
return false;
}
}
Expand Down

0 comments on commit ddb4694

Please sign in to comment.