Skip to content

Commit

Permalink
Combobbox content - filtered options are not shown #3713
Browse files Browse the repository at this point in the history
  • Loading branch information
ashklianko committed Sep 19, 2024
1 parent 0cab614 commit 247eacf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ export class ComboBox
}

private comboBoxFilter(item: ComboBoxOption, searchString: string): boolean {
return StringHelper.isBlank(searchString) || item.value.indexOf(searchString) >= 0;
return StringHelper.isBlank(searchString) || item.value.toLowerCase().indexOf(searchString.toLowerCase()) >= 0
|| item.label?.toLowerCase().indexOf(searchString.toLowerCase()) >= 0;
}

private getSelectedItems(): string[] {
Expand Down

0 comments on commit 247eacf

Please sign in to comment.