Skip to content

Commit c68ebed

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

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
@@ -509,7 +509,8 @@ export class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
509509
this.filterValues = this.generateFilterValues();
510510
this.generateListData();
511511
this.expressionsList.forEach(expr => {
512-
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase && expr.expression.searchVal) {
512+
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase
513+
&& expr.expression.searchVal && expr.expression.searchVal instanceof Set) {
513514
this.modifyExpression(expr);
514515
}
515516
});

0 commit comments

Comments
 (0)