You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
When using [formControl] instead of formControlName, styles are not changed on validation failure.
Example: <input class="form-control" type="text" [formControl]="this.emailControl">
does not change the input class on validation failure.
For context, I'm using FormGroupTyped, so my situation is more like this: <input class="form-control" type="text" [formControl]="this.formGroup.controls.email">
When using
[formControl]instead offormControlName, styles are not changed on validation failure.Example:
<input class="form-control" type="text" [formControl]="this.emailControl">does not change the input class on validation failure.
For context, I'm using FormGroupTyped, so my situation is more like this:
<input class="form-control" type="text" [formControl]="this.formGroup.controls.email">