Skip to content

Commit

Permalink
fix(inputs): fix errors from tests #1144
Browse files Browse the repository at this point in the history
  • Loading branch information
DDavidkov committed Jun 26, 2018
1 parent 08f3e90 commit 81cdc44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class IgxInputDirective implements AfterViewInit, OnDestroy {
}
}

return this.ngControl && !!this.ngControl.control.validator || !!this.ngControl.control.asyncValidator;
return !!this.ngControl && (!!this.ngControl.control.validator || !!this.ngControl.control.asyncValidator);
}

public get focused() {
Expand Down

0 comments on commit 81cdc44

Please sign in to comment.