This commit is contained in:
parent
e06d567e3c
commit
bec50d6eed
|
@ -70,7 +70,6 @@ async function setProvince(id, data) {
|
||||||
data.countryFk = newProvince.countryFk;
|
data.countryFk = newProvince.countryFk;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Watchers to update filters based on country and province changes
|
|
||||||
watch(
|
watch(
|
||||||
() => [postcodeFormData.countryFk],
|
() => [postcodeFormData.countryFk],
|
||||||
async (newCountryFk) => {
|
async (newCountryFk) => {
|
||||||
|
|
|
@ -13,7 +13,6 @@ watch(provinceFk, async () => await provincesFetchDataRef.value.fetch());
|
||||||
const $props = defineProps({
|
const $props = defineProps({
|
||||||
countryFk: {
|
countryFk: {
|
||||||
type: Number,
|
type: Number,
|
||||||
required: false,
|
|
||||||
default: null,
|
default: null,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue