Skip to content

Commit bb91ba8

Browse files
authored
Merge pull request #2559 from Akshat55/issue.2558
fix: Create only 1 listbox element per combobox
2 parents 0185d09 + 95746cf commit bb91ba8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/combobox/combobox.component.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,9 @@ export class ComboBox implements OnChanges, AfterViewInit, AfterContentInit, OnD
735735
this.showClearButton = !!searchString;
736736
this.view.filterBy(searchString);
737737
if (searchString !== "") {
738-
this.openDropdown();
738+
if (!this.open) {
739+
this.openDropdown();
740+
}
739741
} else {
740742
this.selectedValue = "";
741743
if (this.type === "multi" &&

0 commit comments

Comments
 (0)