mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
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.
This commit is contained in:
@@ -67,6 +67,7 @@
|
||||
// remove invalid value, as it didn't match anything
|
||||
$( this ).val( "" );
|
||||
select.val( "" );
|
||||
input.data( "autocomplete" ).term = "";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user