Skip to content

Commit

Permalink
Improved: code to search time zones as we enter in searchbar
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Dec 6, 2023
1 parent 16e58ae commit 5895942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/TimezoneModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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" @keyup.enter="queryString = $event.target.value; findTimeZone()" @keydown="preventSpecialCharacters($event)" />
<ion-searchbar @ionFocus="selectSearchBarText($event)" :placeholder="$t('Search time zones')" v-model="queryString" @ionChange="findTimeZone()" @keydown="preventSpecialCharacters($event)" />
</ion-toolbar>
</ion-header>

Expand Down

0 comments on commit 5895942

Please sign in to comment.