Merge pull request #5604 from tsiegleauq/select-search-throws-errors

Fix mat select search errors
This commit is contained in:
Sean 2020-10-05 10:47:05 +02:00 committed by GitHub
commit 2ca157bb7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,9 @@
[panelClass]="{ 'os-search-value-selector': multiple }"
[errorStateMatcher]="errorStateMatcher"
>
<ngx-mat-select-search [formControl]="searchValue"></ngx-mat-select-search>
<mat-option>
<ngx-mat-select-search [formControl]="searchValue"></ngx-mat-select-search>
</mat-option>
<ng-container *ngIf="multiple && showChips">
<div #chipPlaceholder>
<div class="os-search-value-selector-chip-container" [style.width]="width">