Skip to content

bug(chips): mat-chip directive no longer working in v15 #26677

Closed
@adigourdi

Description

@adigourdi

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

v14

Description

Using the mat-chip on a link a to render it as a chip no longer works after I upgraded to v15.1

Reproduction

Steps to reproduce:

  1. Create a chips set/list <mat-chip-set>
  2. Insert the tag <a mat-chip href="">Link</a>

Expected Behavior

Render the link as a chip
StackBlitz V14

Actual Behavior

The link is rendered as is, with an attribute mat-chip
StackBlitz V15

Environment

  • Angular CLI: 15.1.6
  • CDK/Material: 15.1.5
  • Node: 18.14.0
  • Package Manager: npm 9.3.1
  • OS: linux x64

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/chips

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions