Estoy enumerando una lista de valores en mat-select. Aquí está mi código;
<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>Quiero agregar un nuevo valor a esta lista y también convertirlo en un valor seleccionado.
¿Cómo puedo hacer eso?