mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 17:01:18 +08:00
18 lines
662 B
C#
18 lines
662 B
C#
|
@using AntDesign.Select.Internal
|
|||
|
@namespace AntDesign.Select
|
|||
|
@typeparam TItemValue
|
|||
|
@typeparam TItem
|
|||
|
|
|||
|
<span class="@Class" style="@Style">
|
|||
|
<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>
|