Skip to content

Commit 0857409

Browse files
committed
fix(esf): fix error when adding filter value with one character
1 parent ac3985a commit 0857409

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/igniteui-angular/src/lib/grids/filtering/excel-style/excel-style-filtering.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ export class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
510510
this.filterValues = this.generateFilterValues();
511511
this.generateListData();
512512
this.expressionsList.forEach(expr => {
513-
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase && expr.expression.searchVal) {
513+
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase
514+
&& expr.expression.searchVal && expr.expression.searchVal instanceof Set) {
514515
this.modifyExpression(expr);
515516
}
516517
});

0 commit comments

Comments
 (0)