From 8acd008f42e02a80f0c491394f41335705dc3b85 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 14 Aug 2024 09:47:27 +0200 Subject: [PATCH] feat: handle newValue --- src/components/common/VnLocation.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/common/VnLocation.vue b/src/components/common/VnLocation.vue index 778932be3..2fbe357ba 100644 --- a/src/components/common/VnLocation.vue +++ b/src/components/common/VnLocation.vue @@ -4,6 +4,7 @@ import VnSelectDialog from 'components/common/VnSelectDialog.vue'; import { useI18n } from 'vue-i18n'; import { ref } from 'vue'; const { t } = useI18n(); +const emit = defineEmits(['update:model-value', 'update:options']); const props = defineProps({ location: { @@ -39,7 +40,14 @@ function showLabel(data) { :emit-value="false" >