I'm listing down 1-100 numbers using mat-form-field in mat-option . It is not showing the saved value in the dropdown after saving.**
<mat-form-field class="full-wid" appearance="outline">
<mat-label>Percentage 1 (%)</mat-label>
<mat-select matTooltip="Please percentage" class="numbers" [required]="percentTorF"
(selectionChange)="selected2()" [formControl]="salaryform.controls['Percentage1']"
[(ngModel)]="percentValue1">
<mat-option *ngFor="let n1 of numbers1" [value]="n1">{{ n1 }}</mat-option>
</mat-select>
<mat-error *ngIf="salaryform.controls['Percentage1'].hasError('required')">
Percentage is required</mat-error>
</mat-form-field>
{{percentValue1 | json }}
? plus show the sample data ofnumbers1
array – Prashant Pimpale