Skip to content

Commit

Permalink
Merge pull request #3604 from IgniteUI/gedinakova/fix-3550-7.1.x
Browse files Browse the repository at this point in the history
#3550 Fixed an issue with the initial validation fix.
  • Loading branch information
rkaraivanov authored Jan 15, 2019
2 parents 219a8e8 + 4d12f66 commit 267e94d
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 267e94d

Please sign in to comment.