Merge pull request #2522 from Safelite/feature/Digital/CASH-708
CASH-708
This commit is contained in:
commit
9f2736b821
1 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue