Added autocomplete and city reset for validation

This commit is contained in:
Leah Schumann 2023-03-20 10:30:36 -04:00
parent a0ab81acaa
commit 4c60dc054f

View file

@ -158,6 +158,8 @@ export default {
// on the service-zip-modal-question component
this.$refs[this.modalName].form.resetForm({
values: {
autocomplete: updatedServiceZipCodeInfo.streetAddress,
city: updatedServiceZipCodeInfo.city,
state: updatedServiceZipCodeInfo.state,
zipCode: updatedServiceZipCodeInfo.zipCode,
isVehicleProtected: updatedServiceZipCodeInfo.isVehicleProtected,
@ -197,6 +199,8 @@ export default {
this.internalModel = deepClone(newValue);
this.resetComponent({
autocomplete: updatedServiceZipCodeInfo.streetAddress,
city: updatedServiceZipCodeInfo.city,
state: newValue.addressQuestions.state,
zipCode: newValue.addressQuestions.zipCode,
isVehicleProtected: newValue.isVehicleProtected,