Skip to content

Commit a376e15

Browse files
committed
fix(MultiSelect): add StateHasChanged to fix the issue where the component may not refresh
1 parent 05adf6f commit a376e15

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/BootstrapBlazor/Components/Select/MultiSelect.razor.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,7 @@ private async Task SetValue()
314314

315315
PreviousValue = CurrentValueAsString;
316316

317-
if (!ValueChanged.HasDelegate)
318-
{
319-
StateHasChanged();
320-
}
317+
StateHasChanged();
321318
}
322319

323320
/// <summary>

0 commit comments

Comments
 (0)