Skip to content

Commit 5d4ff3a

Browse files
author
Mastiuhin Olexandr
committed
MAGETWO-97091: Zip code is not validated for address entered in My Account and for new address entered during checkout
1 parent 6251009 commit 5d4ff3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Checkout/view/frontend/web/js/model/postcode-validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ define([
2020
validate: function (postCode, countryId, postCodesPatterns) {
2121
var pattern, regex,
2222
patterns = postCodesPatterns ? postCodesPatterns[countryId] :
23-
window.checkoutConfig.postCodes[countryId];
23+
window.checkoutConfig.postCodes[countryId];
2424

2525
this.validatedPostCodeExample = [];
2626

0 commit comments

Comments
 (0)