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.
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>
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.
The MudComboBox is defined as follows: