From 4c60dc054f40b8e241a16ac26762460a34d25df4 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Mon, 20 Mar 2023 10:30:36 -0400 Subject: [PATCH] Added autocomplete and city reset for validation --- .../mobile-location-modal-questions.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 586e1c6de..9ba81f14a 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -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,