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: "",
|
||||
apartmentNumberOrBusinessName: "",
|
||||
city: "",
|
||||
state: "",
|
||||
state: null,
|
||||
zipCode: "",
|
||||
}),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ export default {
|
|||
streetAddress: "",
|
||||
apartmentNumberOrBusinessName: "",
|
||||
city: "",
|
||||
state: "",
|
||||
state: null,
|
||||
zipCode: "",
|
||||
},
|
||||
isVehicleProtected: null,
|
||||
|
|
|
|||
Loading…
Reference in a new issue