Skip to content

Commit d3e37b8

Browse files
committed
#21473 Form element validation is not triggered when validation rules change
1 parent 48e9760 commit d3e37b8

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)