From 611e402d79d9f8669de9529d33d74ea1383ca8d6 Mon Sep 17 00:00:00 2001 From: gedinakova Date: Mon, 14 Jan 2019 21:13:44 +0200 Subject: [PATCH] fix(Input): #3550 Fixed a bad validation check. --- .../src/lib/directives/input/input.directive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/igniteui-angular/src/lib/directives/input/input.directive.ts b/projects/igniteui-angular/src/lib/directives/input/input.directive.ts index 9a8dcb5b5e5..bfd389178f6 100644 --- a/projects/igniteui-angular/src/lib/directives/input/input.directive.ts +++ b/projects/igniteui-angular/src/lib/directives/input/input.directive.ts @@ -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; } }