I am listing a list of values in mat-select. Here is my code;
<div class="row">
<div class="col-md-1">
<mat-form-field class="mat-form-field-fluid">
<mat-select placeholder="select" formControlName="myList" id="myList">
<ngx-mat-select-search [formControl]="frmControl" #fltr >
</ngx-mat-select-search>
<mat-option id="myListValue" [value]="item.code" *ngFor="let item of ListOfSelect | filterByProperty: ['descp',filter.value];">{{ item.description}}
</mat-option>
</mat-select>
</mat-form-field>
</div>
I want to add a new value to this list and also make it as selected value.
How can I do that?