Skip to content

Commit 17e153e

Browse files
authored
fix(blazorui): resolve issue of clear button in BitDropdown when ItemsProvider is used #11083 (#11088)
1 parent 1c611e3 commit 17e153e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BlazorUI/Bit.BlazorUI/Components/Inputs/Dropdown/BitDropdown.razor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,8 @@ private async Task HandleOnClearClick()
11431143
if (InvalidValueBinding()) return;
11441144

11451145
CurrentValue = default;
1146+
1147+
_selectedItems.Clear();
11461148
}
11471149

11481150
UpdateSelectedItemsFromValues();

0 commit comments

Comments
 (0)