Skip to content

Commit

Permalink
#21473 Form element validation is not triggered when validation rules…
Browse files Browse the repository at this point in the history
… change
  • Loading branch information
kisroman authored and amol2jcommerce committed May 9, 2019
1 parent 0b2fcf1 commit f9396db
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 f9396db

Please sign in to comment.