Skip to content

Commit 5cd1eb1

Browse files
committed
fix: Create only 1 listbox element per combobox
Signed-off-by: Akshat Patel <[email protected]>
1 parent 8e00897 commit 5cd1eb1

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)