CASH-1158

CASH-1158 fixed serviceZipQuestion button click event from bubbling up to schedule page, preventing unwanted background validation for timeslots before user has closed the drawer
This commit is contained in:
Johnny shultz 2025-07-14 16:03:23 -04:00
parent 1bb2cf86fc
commit 3e83b5a899

View file

@ -20,18 +20,20 @@
displayInvalidZipAlert || displayNoShopsAlert || !selectedProviderNumber displayInvalidZipAlert || displayNoShopsAlert || !selectedProviderNumber
" "
@footer-button-event="setZipCodeAndShop"> @footer-button-event="setZipCodeAndShop">
<serviceZipQuestion <form @submit.prevent>
ref="serviceZipQuestion" <serviceZipQuestion
class="shop-question-zipcode" ref="serviceZipQuestion"
customInputId="serviceZipCode" class="shop-question-zipcode"
v-model="internalModel.zipCode" customInputId="serviceZipCode"
v-on="{ 'textboxQuestionEvent.inputIdAssigned': onInputIdAssigned }" v-model="internalModel.zipCode"
cmsWidgetName="ServiceZipQuestionWidget" v-on="{ 'textboxQuestionEvent.inputIdAssigned': onInputIdAssigned }"
@search-icon-click="onSearchZip" cmsWidgetName="ServiceZipQuestionWidget"
@keydown.enter="onSearchZip" @search-icon-click="onSearchZip"
includeSearchIcon @keydown.enter="onSearchZip"
:isRequired="false" includeSearchIcon
:validationRules="''" /> :isRequired="false"
:validationRules="''" />
</form>
<alert <alert
ref="alertInvalidZip" ref="alertInvalidZip"
v-if="displayInvalidZipAlert" v-if="displayInvalidZipAlert"