I am using a mat-dropdown in a reactive form . I want to choose a default option from the dropdown .
In the template driven approach i used [{ngModel}] = "selectedValue" to set the default value . But in reactive forms while using formControlName , ngModel is not supported .
How can i set any option to default selected in reactive forms ? Can anyone help .
<mat-label><b>ABC Group: <mark class="red">*</mark></b></mat-label>
<mat-form-field appearance="outline">
<mat-select formControlName="apcGroup" (selectionChange)="onSelectionChanged($event)" placeholder="Select One">
<mat-option *ngFor="let abc of Group" [value]="abc.groupDesc">{{abc.groupDesc}}</mat-option>
</mat-select>
</mat-form-field>