Skip to content

Angular Forms - dirty flag true by default #905

Closed
@sebawita

Description

@sebawita

I am using {N} 3.1.2.
When I try to use form validation on the TextField the dirty flag is true when the app loads, while it should be set to false to begin with.

Example:

  <TextField #fieldModel="ngModel" required [(ngModel)]="field"></TextField>
  <Label [text]="fieldModel.dirty"></Label>

  <TextField #nameModel="ngModel" required [(ngModel)]="name"></TextField>
  <Label [text]="nameModel.dirty"></Label>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions