Skip to content

Commit

Permalink
magento#21473 Form element validation is not triggered when validatio…
Browse files Browse the repository at this point in the history
…n rules change
  • Loading branch information
kisroman authored and amol2jcommerce committed May 9, 2019
1 parent f9396db commit 20e3818
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ define([
this.validation[rule] = options;
}

changed = !(utils.compare(rules, this.validation).equal);
changed = !utils.compare(rules, this.validation).equal;

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

0 comments on commit 20e3818

Please sign in to comment.