Remove zip code matching condition causing zip code state validation
This commit is contained in:
hiteshkumar87 2025-01-27 17:30:40 +05:30
parent 2a7f15df12
commit 2a97b02b04

View file

@ -241,10 +241,6 @@ export default {
this.displayMismatchStateAndZipAlert = false; this.displayMismatchStateAndZipAlert = false;
}, },
async setMobileLocation() { async setMobileLocation() {
if (
this.internalModel.addressQuestions.zipCode !==
this.modelValue.addressQuestions.zipCode
) {
this.resetAlerts(); this.resetAlerts();
// Validate the Zip Code // Validate the Zip Code
const zipCodeData = await this.getZipCodeData( const zipCodeData = await this.getZipCodeData(
@ -287,13 +283,6 @@ export default {
// update the page level model // update the page level model
this.$emit("update:modelValue", this.internalModel); this.$emit("update:modelValue", this.internalModel);
//Page advance to Schedule page
this.$emit("mobileLocationSelected");
}
} else {
// Update the page level model
this.$emit("update:modelValue", this.internalModel);
//Page advance to Schedule page //Page advance to Schedule page
this.$emit("mobileLocationSelected"); this.$emit("mobileLocationSelected");
} }