diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-11-30 17:55:29 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-11-30 17:55:29 -0500 |
commit | ddb4694cc1b4edcbff6a2abedccde027e47dcbc3 (patch) | |
tree | f78ee97d7a9f0cb3f4ad48c751f8c8d6b88f2ffc /demos/autocomplete | |
parent | 98f7e6a8d615772fbddbf185241d087a95e5e121 (diff) | |
download | jquery-ui-ddb4694cc1b4edcbff6a2abedccde027e47dcbc3.tar.gz jquery-ui-ddb4694cc1b4edcbff6a2abedccde027e47dcbc3.zip |
Autocomplete combobox demo: Reset the internal term property when an invalid selection is made. Fixes #6695 - Autocomplete combobox example does not show suggestion on second try.
Diffstat (limited to 'demos/autocomplete')
-rw-r--r-- | demos/autocomplete/combobox.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index ab939a036..9f92ae108 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -67,6 +67,7 @@ // remove invalid value, as it didn't match anything $( this ).val( "" ); select.val( "" ); + input.data( "autocomplete" ).term = ""; return false; } } |