How do you prevent material icon text from showing up when a mat-option is selected?
Component.html
<form [formGroup]="autoPopulatePOCForm">
<mat-form-field class="savedPocWrapper">
<mat-select class="form-control" formControlName="poc" id="poc" ngDefaultControl disableRipple disableOptionCentering>
<mat-select-trigger>
{{poc.lastName}}, {{poc.firstName}} ({{poc.email}})
</mat-select-trigger>
<mat-option class="poc-mat-option" value="">Choose</mat-option>
<mat-option class="poc-mat-option" *ngFor="let poc of savedPOCs" [value]="poc">
<button class="poc-mat-button" type="button" (click)="deletePOC(poc.email)" mat-icon-button>
<mat-icon class="poc-mat-icon">
<i class="material-icons">delete</i>
</mat-icon>
</button>
{{poc.lastName}}, {{poc.firstName}} ({{poc.email}})
</mat-option>
</mat-select>
</mat-form-field>
</form>
Component.ts
this.autoPopulatePOCForm = this.formBuilder.group({
poc: new FormControl()
});
Update
Setting the mat-select-trigger is what I want to do but I cannot get the data binding to work in a FormGroup.