Skip to content

Commit 2cd8f3a

Browse files
author
Hayder Sharhan
committed
Merge commit 'refs/pull/4051/head' of https://github.com/magento/magento2 into MAGETWO-53552
2 parents 211c668 + 09a3d12 commit 2cd8f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,7 @@
11391139
validator.attrLength = length;
11401140
result = (v.length <= length);
11411141
}
1142-
if (name.match(reMin) && result && $.mage.isEmpty(v)) {
1142+
if (name.match(reMin) && result && !$.mage.isEmpty(v)) {
11431143
length = name.split('-')[2];
11441144
result = v.length >= length;
11451145
}

0 commit comments

Comments
 (0)