Skip to content

Commit 4ce56cc

Browse files
committed
Add More Proper Fix
1 parent 0579831 commit 4ce56cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CodeBeam.MudBlazor.Extensions/Components/ComboBox/MudComboBox.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,9 @@ protected override async Task OnParametersSetAsync()
810810
if (MultiSelection == false)
811811
{
812812
_searchString = ConvertSet(ReadValue);
813-
if (_firstRendered)
813+
if (_inputReference != null)
814814
{
815-
await _inputReference?.SetText(_searchString);
815+
await SetTextCoreAsync(_searchString);
816816
}
817817
}
818818
}

0 commit comments

Comments
 (0)