getting ready to revert model structure on page level

This commit is contained in:
Leah Schumann 2023-02-15 09:11:58 -05:00
parent e46570fb9e
commit 621b2c18a4
3 changed files with 10 additions and 7 deletions

View file

@ -111,7 +111,7 @@ export default {
streetAddress: "",
apartmentNumberOrBusinessName: "",
city: "",
state: "",
state: null,
zipCode: "",
}),
},

View file

@ -136,11 +136,14 @@ export default {
this.resetModel();
// Reset the validation form
this.$refs[this.modalName].form.resetForm({
values: {
state: this.modelValue.addressQuestions.state,
},
});
this.$refs[this.modalName].form.resetForm();
// {
// values: {
// state: this.modelValue.addressQuestions.state,
// zipCode: this.modelValue.addressQuestions.zipCode,
// },
// dirty: false,
// });
// Reinitialize the Address Auto Complete
this.$refs.addressQuestions.setupAddressLookup();

View file

@ -129,7 +129,7 @@ export default {
streetAddress: "",
apartmentNumberOrBusinessName: "",
city: "",
state: "",
state: null,
zipCode: "",
},
isVehicleProtected: null,