From 605e1ce2e84a13410caf09c7946e8be12c909e79 Mon Sep 17 00:00:00 2001 From: Kroell Date: Thu, 20 Apr 2023 14:37:08 -0400 Subject: [PATCH] formatting --- .../service-location/service-location.vue | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index 31e4ec75..50b61c13 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -14,13 +14,13 @@ ref="serviceZipCodeQuestion" modalWidgetName="ServiceZipModalWidget" /> + cmsWidgetName="ServiceTypeQuestionWidget" + :questionText="questionText" + :answers="answersFromCms" + buttonTypeString="listCard" + isRequired + v-model="selectedAppointmentType" + validationRules="selection-required"/>
@@ -111,6 +111,7 @@ export default { zipCode: this.mainStore.order.customer.address.zipCode, state: this.mainStore.order.customer.address.state, isServiceZipServiceable: null, + selectedAppointmentType: "", }; }, computed: { @@ -128,6 +129,10 @@ export default { }; }, set: function (newValue) { + if (newValue.zipCode !== this.zipCode) { + this.selectedAppointmentType = null; + } + this.zipCode = newValue.zipCode; this.state = newValue.state;