Skip to content

Commit

Permalink
Fixed combobox multiselection clear (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentRage47 authored Oct 9, 2023
1 parent 7b582ed commit 5e4c109
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ protected async ValueTask ClearButtonClickHandlerAsync(MouseEventArgs e)
_selectedValues.Clear();
DeselectAllItems();
await BeginValidateAsync();
await ForceUpdateItems();
StateHasChanged();
await SelectedValuesChanged.InvokeAsync(new HashSet<T>(SelectedValues, _comparer));
await OnClearButtonClick.InvokeAsync(e);
Expand Down

0 comments on commit 5e4c109

Please sign in to comment.