2020-11-27 13:13:26 +08:00
|
|
|
|
@using AntDesign.Select.Internal
|
|
|
|
|
@namespace AntDesign.Select
|
|
|
|
|
@typeparam TItemValue
|
|
|
|
|
@typeparam TItem
|
|
|
|
|
|
2021-01-21 17:20:10 +08:00
|
|
|
|
<span class="@Class" style="@Style" @ref="Ref">
|
2020-11-27 13:13:26 +08:00
|
|
|
|
<span class="@ContentClass" style="@ContentStyle">
|
|
|
|
|
@LabelTemplateItemContent(SelectOption.Item)
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
@if (ParentSelectContent.ParentSelect.SelectMode != SelectMode.Default)
|
|
|
|
|
{
|
|
|
|
|
<span unselectable="on" aria-hidden="true" style="user-select: none; @RemoveIconStyle" class="@RemoveIconClass"
|
|
|
|
|
@onclick="()=> ParentSelectContent.OnRemoveSelected.InvokeAsync(SelectOption)" @onclick:stopPropagation="true">
|
|
|
|
|
<Icon Type="close"></Icon>
|
|
|
|
|
</span>
|
|
|
|
|
}
|
|
|
|
|
</span>
|