Skip to content

Commit

Permalink
fix(Input): #3550 Fixed a bad validation check.
Browse files Browse the repository at this point in the history
  • Loading branch information
gedinakova committed Jan 14, 2019
1 parent 90cfd7b commit c5a8311
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 c5a8311

Please sign in to comment.