Skip to content

Commit

Permalink
fix: Error after tabbing to the country field (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flo2315 committed Jun 6, 2024
1 parent 95a111b commit 56b0de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/vue-tel-input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@
choose(sortedCountries.value[data.selectedIndex]);
}
data.open = !data.open;
} else {
} else if (data.open) {
// typing a country's name
data.typeToFindInput += e.key;
clearTimeout(data.typeToFindTimer);
Expand Down

0 comments on commit 56b0de4

Please sign in to comment.