diff --git a/examples/combobox/js/combobox-autocomplete.js b/examples/combobox/js/combobox-autocomplete.js index ebf61dd2f4..8bae873d66 100644 --- a/examples/combobox/js/combobox-autocomplete.js +++ b/examples/combobox/js/combobox-autocomplete.js @@ -391,6 +391,7 @@ ComboboxAutocomplete.prototype.handleComboboxKeyUp = function (event) { if (this.comboboxNode.value.length < this.filter.length) { this.filter = this.comboboxNode.value; this.option = null; + this.filterOptions() } if (event.key === "Escape" || event.key === "Esc") { @@ -402,7 +403,9 @@ ComboboxAutocomplete.prototype.handleComboboxKeyUp = function (event) { case "Backspace": this.setVisualFocusCombobox(); this.setCurrentOptionStyle(false); + this.filter = this.comboboxNode.value; this.option = null; + this.filterOptions() flag = true; break;