Skip to content

Commit b202e67

Browse files
authored
ENGCOM-4923: #21473: Form element validation is not triggered when validation rules… #21992
2 parents ecc2c38 + aa8c4b1 commit b202e67

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/abstract.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ define([
296296
this.validation[rule] = options;
297297
}
298298

299-
changed = utils.compare(rules, this.validation).equal;
299+
changed = !utils.compare(rules, this.validation).equal;
300300

301301
if (changed) {
302302
this.required(!!rules['required-entry']);

0 commit comments

Comments
 (0)