From 56b0de4f444ca72d49cfc4ccfe65b87b62782987 Mon Sep 17 00:00:00 2001 From: Florian Le Heurte Date: Thu, 6 Jun 2024 20:13:24 +0800 Subject: [PATCH] fix: Error after tabbing to the country field (#469) --- src/components/vue-tel-input.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/vue-tel-input.vue b/src/components/vue-tel-input.vue index cff91602..58c9af61 100644 --- a/src/components/vue-tel-input.vue +++ b/src/components/vue-tel-input.vue @@ -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);