Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit ddb4694cc1b4edcbff6a2abedccde027e47dcbc3 1 parent 98f7e6a
@scottgonzalez scottgonzalez authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  demos/autocomplete/combobox.html
View
1  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;
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.