Skip to content

Commit 5a2e819

Browse files
MateuszChrapekrostyslav-hymon
authored andcommitted
6879 - Unable to change country of manufacture default label value
1 parent 651a556 commit 5a2e819

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/web/mage/validation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@
195195
var empty = $(element).closest('table')
196196
.find('input.required-option:visible')
197197
.filter(function (i, el) {
198-
return $.mage.isEmpty(el.value);
198+
if($(el).is('disabled'))
199+
return $.mage.isEmpty(el.value);
199200
})
200201
.length;
201202

0 commit comments

Comments
 (0)