Skip to content

Commit

Permalink
allow space in isPrintableCharacter regex (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
carmacleod committed Oct 18, 2021
1 parent 45e9a6c commit 8e9e809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/combobox/js/combobox-autocomplete.js
Expand Up @@ -399,7 +399,7 @@ class ComboboxAutocomplete {
}

isPrintableCharacter(str) {
return str.length === 1 && str.match(/\S/);
return str.length === 1 && str.match(/\S| /);
}

onComboboxKeyUp(event) {
Expand Down

0 comments on commit 8e9e809

Please sign in to comment.