<div>
<mat-button-toggle-group appearance="legacy" formControlName="ageUnit">
<!-- <mat-button-toggle-group formControlName="ageUnit"> -->
<mat-button-toggle *ngFor="let unit of ageUnits" [value]="unit.vale">
{{unit.label}}
</mat-button-toggle>
</mat-button-toggle-group>
</div>