CodeBeam.MudBlazor.Extensions icon indicating copy to clipboard operation
CodeBeam.MudBlazor.Extensions copied to clipboard

MudSelect Extended existing entries are not displayed.

Open IngoManthey opened this issue 4 months ago • 0 comments
trafficstars

<MudSelectExtended T="CustomerWithEmail" ItemCollection="_customersWithEmail" SearchBox="true" SelectAllPosition="SelectAllPosition.BeforeSearchBox" SelectAllText=@Localizer["SelectAll"] SelectAll="true" MultiSelectionTextFunc="@GetMultiSelectionText" MultiSelection="true" @bind-SelectedValues="_options" Label=@Localizer["Customers"] AdornmentIcon="@Icons.Material.Filled.Search" AnchorOrigin="Origin.BottomCenter" ValuePresenter="ValuePresenter.Text" Clearable="true"> @foreach (var item in _customersWithEmail) { <MudSelectItemExtended T="CustomerWithEmail" Value="@item" Text="@item.CustomerName" /> } </MudSelectExtended>

(_options as HashSet<CustomerWithEmail>)?.AddRange(data);

I load my existing data and set it to SelectedValues. The correct number is displayed in the text. However, when I open the selection, the existing entries are not displayed as selected.

IngoManthey avatar Jul 06 '25 15:07 IngoManthey