-
-
Notifications
You must be signed in to change notification settings - Fork 132
Description
Describe the bug
When used with cdk-virtual-scroll-viewport with a big list of items, it doesn't display the value in the input after selecting a searched item.
Check the bellow code:
<mat-select formControlName="solCompany" placeholder="Sol Company" #singleSelect1 (selectionChange)="getList()">
<ngx-mat-select-search [formControl]="filterSolString" [placeholderLabel]="'Search Company'">
<cdk-virtual-scroll-viewport [itemSize]="42" [style.height.px]=4*42>
<mat-option [value]="-1">Any
<mat-option *cdkVirtualFor="let company of utils.getObjectKeys(filteredSolCompany | async)" [value]="company">{{companies[company]}}
Expected behavior
Select the item and display it in the input field
Screenshots
Desktop (please complete the following information):