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

chips: removing a chip is not causing validators to run ($dirty, $pristine not update) #11356

@jai-git-dev

Description

@jai-git-dev

Bug, enhancement request, or proposal:

CodePen and steps to reproduce the issue:

CodePen Demo which demonstrates the issue:

Detailed Reproduction Steps:

  1. Create a form with md-chips having a value.
  2. Now try to remove that chip. Look for its pristine. It should actually get false but now its not getting affected on removing it.

What is the expected behavior?

form $pristine should become false on removing a chip.

What is the current behavior?

form $pristine value is not getting affected on removing a chip.

What is the use-case or motivation for changing an existing behavior?

Which versions of AngularJS, Material, OS, and browsers are affected?

  • AngularJS:
  • AngularJS Material: 1.1.10
  • OS: Linux/Mac
  • Browsers:Chrome

Is there anything else we should know? Stack Traces, Screenshots, etc.

Metadata

Metadata

Assignees

Labels

P1: urgentUrgent issues that should be addressed in the next minor or patch release.has: Pull RequestA PR has been created to address this issueresolution: fixedseverity: regressionThis issue is related to a regressiontype: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions