Skip to content

Commit 4fead82

Browse files
dos(material/chips-form-control): fix aria-label property binding of chips-form-control-example
Fixes the aria-label binding. The aria-label used string concatenation with an attribute instead of a property binding
1 parent 6ac4c1a commit 4fead82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components-examples/material/chips/chips-form-control/chips-form-control-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@for (keyword of keywords(); track keyword) {
1212
<mat-chip-row (removed)="removeKeyword(keyword)">
1313
{{keyword}}
14-
<button matChipRemove aria-label="'remove ' + keyword">
14+
<button matChipRemove [attr.aria-label]="'remove ' + keyword">
1515
<mat-icon>cancel</mat-icon>
1616
</button>
1717
</mat-chip-row>

0 commit comments

Comments
 (0)