Can anyone tell me how I can set the initial value of the below select? I have tried doing this through my formControl and although the value in the form will be correct it is not reflected within the view
HTML :
<mat-form-field>
<mat-select name="animationType" formControlName="animationType"
placeholder="select animation">
<mat-option *ngFor="let type of animationTypes" [value]="type">
{{type.name}}
</mat-option>
</mat-select>
</mat-form-field>
TS :
animationTypes = [
{ name: 'balloon' },
{ name: 'kite' },
{ name: 'wolf' }
];