CodeBeamOrg / CodeBeam.MudBlazor.Extensions

Useful third party extension components for MudBlazor, from the contributors.
https://mudextensions.codebeam.org/
MIT License
348 stars 60 forks source link

MudComboBox SelectAll layout issues #355

Closed Saracaen closed 1 month ago

Saracaen commented 2 months ago

The MudComboBox supports the SelectAll property, which adds a select all checkbox at the top of a multi-select list. But the select all checkbox is not properly aligned with the rest of the checkboxes.

image

The MudComboBox is defined as follows:

<MudComboBox T="string"
           SelectedValues="_SelectedCables"
           SelectedValuesChanged="OnSelectedCablesChangeAsync"
           SelectAll="true"
           MultiSelection="true"
           Label="@Localizer["SelectCable"]"
           Placeholder="@Localizer["Select a cable..."]"
           AnchorOrigin="Origin.BottomCenter"
           Dense="Dense.Slim"
           Margin="Margin.Dense"
           Variant="Variant.Outlined">
    @foreach ( var cable in _CableNames )
    {
        <MudComboBoxItem Value="@cable.CableName">@cable.CableName</MudComboBoxItem>
    }
</MudComboBox>
mckaragoz commented 2 months ago

Which version do you use?

Saracaen commented 1 month ago

This was an issue for me in version 6.9.0, but it is no longer an issue since 6.9.1!