Skip to content

Commit

Permalink
ENGCOM-5111: [Backport] #21473: Form element validation is not trigge…
Browse files Browse the repository at this point in the history
…red when validation rules… #22801
  • Loading branch information
VladimirZaets authored May 13, 2019
2 parents eaf875e + e35534f commit 81da6b2
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 81da6b2

Please sign in to comment.