We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598a22c commit e908131Copy full SHA for e908131
packages/kit-headless/src/components/autocomplete/autocomplete-input.tsx
@@ -57,9 +57,7 @@ export const AutocompleteInput = component$((props: InputProps) => {
57
const optionValue = option.value.getAttribute('optionValue');
58
const inputValue = contextService.inputValue.value;
59
60
- const defaultFilterRegex = '[0-9]*';
61
- const defaultFilterPattern = inputValue + defaultFilterRegex;
62
- const defaultFilter = new RegExp(defaultFilterPattern, 'i');
+ const defaultFilter = new RegExp(inputValue, 'i');
63
64
if (
65
contextService.inputValue.value.length >= 0 &&
0 commit comments