8032-devToTest_2440 #751

Merged
alexm merged 319 commits from 8032-devToTest_2440 into test 2024-09-24 10:05:33 +00:00
1 changed files with 9 additions and 1 deletions
Showing only changes of commit 8acd008f42 - Show all commits

View File

@ -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"
>
<template #form>
<CreateNewPostcode @on-data-saved="(newValue) => (modelValue = newValue)" />
<CreateNewPostcode
@on-data-saved="
(newValue) => {
modelValue = newValue;
emit('update:model-value', newValue);
}
"
/>
</template>
<template #option="{ itemProps, opt }">
<QItem v-bind="itemProps">