<mat-autocomplete #autoGroup="matAutocomplete"> <mat-optgroup *ngFor="let group of stateGroupOptions | async" [label]="group.letter"> <mat-option *ngFor="let name of group.names" [value]="name"> {{name}} </mat-option> </mat-optgroup> </mat-autocomplete>