From fd47cabc21a6da391e6318da4b401dba212e8b6e Mon Sep 17 00:00:00 2001 From: Aniket Kumar Pandey <meet.aniket.kumar@gmail.com> Date: Mon, 16 May 2022 13:02:42 +0530 Subject: [PATCH] Improved: code to use keyUp event for enter button instead of 'ionInput' for timeZone search (#2cj8zmd). --- src/views/TimezoneModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/TimezoneModal.vue b/src/views/TimezoneModal.vue index 6b065ee9..47db705a 100644 --- a/src/views/TimezoneModal.vue +++ b/src/views/TimezoneModal.vue @@ -9,7 +9,7 @@ <ion-title>{{ $t("Select time zone") }}</ion-title> </ion-toolbar> <ion-toolbar> - <ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" @ionInput="findTimeZone()"></ion-searchbar> + <ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" v-on:keyup.enter="findTimeZone()"></ion-searchbar> </ion-toolbar> </ion-header>