@using CMSMicroservice.Protobuf.Protos.Category

<MudSelect T="long"
           @ref="_selectRef"
           Label="@Label"
           Variant="Variant.Outlined"
           Margin="Margin.Dense"
           Disabled="@Disabled"
           MultiSelection="true"
           MultiSelectionTextFunc="@GetSelectedText"
           SelectedValues="_internalSelectedIds"
           SelectedValuesChanged="OnSelectedValuesChangedAsync">
    @foreach (var item in _items)
    {
        <MudSelectItem T="long" Value="@item.Id">
            @item.Title
        </MudSelectItem>
    }
</MudSelect>
