Hi. I found a issue when you load data from a server and you have filter=true, it displays this error: <combo-box [listData]="brands" (onSelect)="selectValue()" [localFilter]="true" [displayField]="'brand_name'" [valueField]="'brand_id'" [(ngModel)]="brand"></combo-box> ERROR TypeError: Cannot read property 'filter' of undefined at ComboBoxComponent On the component I found the issue: private loadData() { if (!this.remote) { if (this.localFilter) { this.data = this._initialData.filter((item) => { If we validate this._initialData as well we will avoid the error: private loadData() { if (!this.remote) { if (this.localFilter && this._initialData) { this.data = this._initialData.filter((item) => { Is it possible that you add this to the code? Regards.
Hi.
I found a issue when you load data from a server and you have filter=true, it displays this error:
<combo-box [listData]="brands" (onSelect)="selectValue()" [localFilter]="true" [displayField]="'brand_name'" [valueField]="'brand_id'" [(ngModel)]="brand">
ERROR TypeError: Cannot read property 'filter' of undefined
at ComboBoxComponent
On the component I found the issue:
If we validate this._initialData as well we will avoid the error:
Is it possible that you add this to the code?
Regards.