Skip to content

Commit 91c730a

Browse files
fix(suggest): use tooltip or text on matTooltip
1 parent 712e279 commit 91c730a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/angular/components/ui-suggest/src/ui-suggest.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<ng-container *ngFor="let option of value; let i = index">
104104
<mat-chip *ngLet="canRemoveChip(option) as canRemoveChip"
105105
[removable]="canRemoveChip"
106-
[matTooltip]="intl.translateLabel(option.text)"
106+
[matTooltip]="intl.translateLabel(option.tooltip ?? option.text)"
107107
(removed)="deselectItem(option)"
108108
class="chip-selectable">
109109
<mat-icon *ngIf="!!option?.icon?.svgIcon"

0 commit comments

Comments
 (0)