getting ready to revert model structure on page level
This commit is contained in:
parent
e46570fb9e
commit
621b2c18a4
3 changed files with 10 additions and 7 deletions
|
|
@ -111,7 +111,7 @@ export default {
|
||||||
streetAddress: "",
|
streetAddress: "",
|
||||||
apartmentNumberOrBusinessName: "",
|
apartmentNumberOrBusinessName: "",
|
||||||
city: "",
|
city: "",
|
||||||
state: "",
|
state: null,
|
||||||
zipCode: "",
|
zipCode: "",
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -136,11 +136,14 @@ export default {
|
||||||
this.resetModel();
|
this.resetModel();
|
||||||
|
|
||||||
// Reset the validation form
|
// Reset the validation form
|
||||||
this.$refs[this.modalName].form.resetForm({
|
this.$refs[this.modalName].form.resetForm();
|
||||||
values: {
|
// {
|
||||||
state: this.modelValue.addressQuestions.state,
|
// values: {
|
||||||
},
|
// state: this.modelValue.addressQuestions.state,
|
||||||
});
|
// zipCode: this.modelValue.addressQuestions.zipCode,
|
||||||
|
// },
|
||||||
|
// dirty: false,
|
||||||
|
// });
|
||||||
|
|
||||||
// Reinitialize the Address Auto Complete
|
// Reinitialize the Address Auto Complete
|
||||||
this.$refs.addressQuestions.setupAddressLookup();
|
this.$refs.addressQuestions.setupAddressLookup();
|
||||||
|
|
|
||||||
|
|
@ -129,7 +129,7 @@ export default {
|
||||||
streetAddress: "",
|
streetAddress: "",
|
||||||
apartmentNumberOrBusinessName: "",
|
apartmentNumberOrBusinessName: "",
|
||||||
city: "",
|
city: "",
|
||||||
state: "",
|
state: null,
|
||||||
zipCode: "",
|
zipCode: "",
|
||||||
},
|
},
|
||||||
isVehicleProtected: null,
|
isVehicleProtected: null,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue