Skip to content
Permalink
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
scottgonzalez committed Nov 30, 2010
1 parent 98f7e6a commit ddb4694cc1b4edcbff6a2abedccde027e47dcbc3
Showing 1 changed file with 1 addition and 0 deletions.
@@ -67,6 +67,7 @@
// remove invalid value, as it didn't match anything
$( this ).val( "" );
select.val( "" );
input.data( "autocomplete" ).term = "";
return false;
}
}

0 comments on commit ddb4694

Please sign in to comment.