udos86 / ng-dynamic-forms

Rapid form development library for Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mat-select option value required tooltip in case of large text material ui.

harishshk33 opened this issue · comments

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>