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.

md-chips checks for duplicates before md-on-append is called #2748

@webley

Description

@webley

The appendChip function in chipsController.js does some duplicate-checking to prevent adding the same chip multiple times. Unfortunately, it checks for matches before md-on-append is called. If md-on-append converts a string input into an object, for instance, the duplicate checking will always fail.

Presumably it should either check for duplicates after md-on-append has been called, or keep a separate collection of unmodified chips to check against.

Metadata

Metadata

Assignees

Labels

pr: merge readyThis PR is ready for a caretaker to review

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions