Skip to content

Commit c17f00a

Browse files
committed
Revert "fix(MultiSelect): add StateHasChanged to fix the issue where the component may not refresh"
This reverts commit a376e15.
1 parent 211cd2c commit c17f00a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

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

315315
PreviousValue = CurrentValueAsString;
316316

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

320323
/// <summary>

0 commit comments

Comments
 (0)