@namespace AntDesign @inherits AntInputComponentBase @typeparam TOption @using AntDesign.Internal @if (ShowPanel && !_isOptionsZero) {
@if (OverlayTemplate != null) { @OverlayTemplate } else { @if (OptionTemplate != null) { @foreach (var option in GetOptionItems()) { @OptionTemplate(option) } } else { @foreach (var option in GetOptionItems()) { var label = OptionFormat == null ? option.Label : OptionFormat(option); @label } } }
}
@if (ChildContent == null) { } else { @ChildContent }