mat-select option value required tooltip in case of large text material ui.
harishshk33 opened this issue · 0 comments
harishshk33 commented
I'm submitting a
[ ] Bug / Regression
[x] Feature Request / Proposal
I'm using
NG Dynamic Forms Version: `11.0.1`
[ ] Basic UI
[ ] Bootstrap UI
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[x] Material
[ ] NG Bootstrap
[ ] Prime NG
Description
Component.ts
employees: Employees[] = [
{id: 1, value: 'Antony'},
{id: '2', value: 'John'},
{id: '3', value: 'Andrew'}
];
<mat-select>
<mat-option *ngFor="let employee of employees" [value]="employee.id" [matTooltip]="employee.value">
employee.value
</mat-option>
</mat-select>