From e0488dd87ffc0184162a2ff67a13717e6263d56d Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Tue, 30 May 2023 15:36:41 +0200
Subject: [PATCH] fix(front): fix selecting addresses in autocomplete

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 js/src/components/Event/FullAddressAutoComplete.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/src/components/Event/FullAddressAutoComplete.vue b/js/src/components/Event/FullAddressAutoComplete.vue
index 1236ab46c..5b7f19dca 100644
--- a/js/src/components/Event/FullAddressAutoComplete.vue
+++ b/js/src/components/Event/FullAddressAutoComplete.vue
@@ -279,6 +279,7 @@ const setSelected = (newValue: IAddress | null) => {
   if (!newValue) return;
   console.debug("setting selected to model value");
   Object.assign(selected, newValue);
+  emit("update:modelValue", selected);
 };
 
 const saveManualAddress = (): void => {