Skip to content

Commit

Permalink
chore: we should enable useSelectOptionLabelToHtml when filter opti…
Browse files Browse the repository at this point in the history
…on `enableRenderHtml` is enabled
  • Loading branch information
ghiscoding committed Jun 28, 2023
1 parent 98c621a commit 1603281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/common/src/filters/selectFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ export class SelectFilter implements Filter {
filter: false, // input search term on top of the select option list
maxHeight: 275,
single: true,
useSelectOptionLabelToHtml: this.columnFilter?.enableRenderHtml ?? false,
sanitizer: (dirtyHtml: string) => sanitizeTextByAvailableSanitizer(this.gridOptions, dirtyHtml),
// we will subscribe to the onClose event for triggering our callback
// also add/remove "filled" class for styling purposes
Expand Down

0 comments on commit 1603281

Please sign in to comment.