Skip to content

Commit 95a111b

Browse files
authored
Fix: Country search should not be case sensitive (#466)
1 parent f3f0d3a commit 95a111b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/vue-tel-input.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
if (!props.dropdownOptions.showSearchBox) {
279279
return countriesList
280280
}
281-
const userInput = data.searchQuery;
281+
const userInput = data.searchQuery.toLowerCase();
282282
const cleanInput = userInput.replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g, '');
283283
284284
return countriesList.filter(

0 commit comments

Comments
 (0)