From 40b1356d90a595d6af9d07b24db2dd09cf1d41f4 Mon Sep 17 00:00:00 2001 From: lesion Date: Thu, 13 Oct 2022 12:28:02 +0200 Subject: [PATCH] fix place reselection --- components/WhereInput.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/WhereInput.vue b/components/WhereInput.vue index 900d5f6f..c4542cff 100644 --- a/components/WhereInput.vue +++ b/components/WhereInput.vue @@ -7,11 +7,11 @@ v-row :hint="$t('event.where_description')" :prepend-icon='mdiMapMarker' no-filter - :value='value.name' hide-no-data @input.native='search' persistent-hint :items="places" + item-text='name' @focus='search' @change='selectPlace') template(v-slot:item="{ item, attrs, on }") @@ -99,6 +99,7 @@ export default { this.disableAddress = true } else { delete this.place.id + this.place.name = tmpPlace this.place.address = '' this.disableAddress = false this.$refs.place.blur()