Skip to content

Commit

Permalink
Merge pull request #3605 from IgniteUI/gedinakova/fix-3550
Browse files Browse the repository at this point in the history
fix(Input): #3550 Fixed a bad validation check.
  • Loading branch information
kdinev authored Jan 16, 2019
2 parents 52fd9d9 + 5f5c2a8 commit 29f35e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ export class IgxInputDirective implements AfterViewInit, OnDestroy {
}

private checkValidity() {
if (!this.ngControl && this._hasValidators) {
if (!this.ngControl && this._hasValidators()) {
this._valid = this.nativeElement.checkValidity() ? IgxInputState.VALID : IgxInputState.INVALID;
}
}
Expand Down

0 comments on commit 29f35e0

Please sign in to comment.