@using AntDesign.Internal @namespace AntDesign @inherits AntInputComponentBase @_displayText @if (!_showClearIcon) { } else { }
@if (!ShowSearch || string.IsNullOrWhiteSpace(_searchValue)) {
    @menuList((_nodelist, this))
@foreach (CascaderNode node in _renderNodes) { if (node.HasChildren) {
    @menuList((node.Children, this))
} } } else {
    @searchList(this)
}
@code{ RenderFragment<(IEnumerable nodes, Cascader cascader)> menuList = context =>@; RenderFragment searchList = cascader =>@; }