Skip to content

IE inconsitent formcontrol behaviour (touched, dirty, pristine) #16331

@robindijkhof

Description

@robindijkhof

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/fork/components-issue

Steps to reproduce:

  1. https://github.com/robindijkhof/materialformcontrol

Basically I have the following formcontrols

<form>
    <input  [placeholder]="'Favorite food'" [formControl]="form0">
</form>

<form>
  <mat-form-field>
    <input matInput placeholder="Favorite food" [formControl]="form1">
  </mat-form-field>
</form>

<form>
  <mat-form-field>
    <input matInput [placeholder]="'Favorite food'" [formControl]="form2">
  </mat-form-field>
</form>

<form>
  <mat-form-field>
    <input matInput [placeholder]="'Favoritë food'" [formControl]="form3">
  </mat-form-field>
</form>

Expected Behavior

I'd expect touched, dirty and pristine would be equal over all form controls.

Actual Behavior

materialbug

Environment

  • Angular: 7.2.13
  • CDK/Material: 7.3.7
  • Browser(s): IE
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions