forked from verdnatura/salix-front
refs #6280: replace function event
This commit is contained in:
parent
9f9835b7ab
commit
c731b5b989
|
@ -81,9 +81,6 @@ function handleFetch( data) {
|
||||||
postcodesOptions.value = data;
|
postcodesOptions.value = data;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function onPostcodeCreated(){
|
|
||||||
locationFilter()
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<FetchData
|
<FetchData
|
||||||
|
@ -111,7 +108,7 @@ async function onPostcodeCreated(){
|
||||||
fill-input
|
fill-input
|
||||||
>
|
>
|
||||||
<template #form>
|
<template #form>
|
||||||
<CreateNewPostcode @on-data-saved="onPostcodeCreated($event)" />
|
<CreateNewPostcode @on-data-saved="locationFilter()" />
|
||||||
</template>
|
</template>
|
||||||
<template #option="{itemProps, opt}">
|
<template #option="{itemProps, opt}">
|
||||||
<QItem v-bind="itemProps">
|
<QItem v-bind="itemProps">
|
||||||
|
|
Loading…
Reference in New Issue