I tried a lot with the knowledge I have on tooltips and Angular forms but no use any help will be much appreciated thank you. Please correct me if am doing anything wrong.
Below is my code that I tried. I want to display an icon with a tooltip to explain about the selection at the end of mat-label.
<div class="col-12 col-md-6 pt-3 order-5">
<mat-form-field name="employeeForm" [formControl]="selectFormControl">
<mat-label>Tooltip position <i class="fas fa-info-circle"
matTooltip="This is simple Tooltip"></i>
</mat-label>
<mat-select name="country" ngDefaultControl formControlName="employee">
<mat-option *ngFor="let employee of employees " [value]="employee">
{{employee.name}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
Update: Here is the StackBlitz example
Update 2 : BTW Please don't forget to add reference(import {MatTooltipModule} from '@angular/material/tooltip';
) to the app.module.ts file and to the provider :)