239 fixes situations where item collection is static or fast enough so it is loaded before OnAfterRenderAsync is called. But if you are loading data from a remote source, initially selected item is not rendered. I think it is because SelectedListItem is never reassigned after OnAfterRenderAsync.
Hi,
239 fixes situations where item collection is static or fast enough so it is loaded before
OnAfterRenderAsync
is called. But if you are loading data from a remote source, initially selected item is not rendered. I think it is becauseSelectedListItem
is never reassigned afterOnAfterRenderAsync
.https://github.com/CodeBeamOrg/CodeBeam.MudBlazor.Extensions/blob/c88d3286b438f4db1c043ca454fe69cc43774b56/CodeBeam.MudBlazor.Extensions/Components/SelectExtended/MudSelectExtended.razor.cs#L739
I think
SelectedListItem
should be set every timeValue
orItemCollection
parameters changed.I also tried to use MudBlazor AutoComplete but looks like it doesn't support something like ValuePresenter.
MudBlazor: 6.11.2 CodeBeam.MudBlazor.Extensions: 6.7.0