Skip to content

Commit

Permalink
Merge pull request #15195 from IgniteUI/mkirkova-fix-15113-19.0.x
Browse files Browse the repository at this point in the history
Fix error when adding filter value with one character - 19.0.x
  • Loading branch information
ChronosSF authored Jan 13, 2025
2 parents 29c39c6 + cca8232 commit 316a63a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,8 @@ export class IgxGridExcelStyleFilteringComponent extends BaseFilteringComponent
this.filterValues = this.generateFilterValues();
this.generateListData();
this.expressionsList.forEach(expr => {
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase && expr.expression.searchVal) {
if (this.column.dataType === GridColumnDataType.String && this.column.filteringIgnoreCase &&
expr.expression.searchVal && expr.expression.searchVal instanceof Set) {
this.modifyExpression(expr);
}
});
Expand Down

0 comments on commit 316a63a

Please sign in to comment.