Skip to content

Commit d119b19

Browse files
authored
Merge pull request #15194 from IgniteUI/mkirkova-fix-15113-master
Fix error when adding filter value with one character - master
2 parents 3aba7a1 + cdc6f66 commit d119b19

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)