Merge pull request #2522 from Safelite/feature/Digital/CASH-708

CASH-708
This commit is contained in:
hiteshkumar87 2025-05-16 12:54:00 +05:30 committed by GitHub
commit 9f2736b821
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,7 +237,10 @@ export default {
async setMobileLocation() {
this.resetAlerts();
// Validate the Zip Code
if (this.internalModel.addressQuestions.zipCode === "") {
if (
this.internalModel.addressQuestions.zipCode === "" ||
this.internalModel.addressQuestions.zipCode.length !== 5
) {
this.setMobileLocationInvalid(true);
return;
}