Skip to content
This repository was archived by the owner on Jan 5, 2022. It is now read-only.
This repository was archived by the owner on Jan 5, 2022. It is now read-only.

Issue with [formControl] input #103

@CosminCraciun

Description

@CosminCraciun

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">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions