Skip to content

Commit

Permalink
fix(select): customMatcher error (#DS-3179) (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
artembelik committed Nov 28, 2024
1 parent 309e159 commit 8926aab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/select/select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ export class KbqSelect
}

calculateHiddenItems(): void {
if (this.customTrigger || this.empty || !this.multiple) {
if (this.customTrigger || this.empty || !this.multiple || this.customMatcher) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion packages/components/tree-select/tree-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ export class KbqTreeSelect
}

calculateHiddenItems() {
if (this.customTrigger || this.empty || !this.multiple) {
if (this.customTrigger || this.empty || !this.multiple || this.customMatcher) {
return;
}

Expand Down

0 comments on commit 8926aab

Please sign in to comment.