@using AntDesign.Internal @namespace AntDesign @inherits AntInputComponentBase @if (string.IsNullOrWhiteSpace(Value) || !ShowClearIcon) { } else { }
    @foreach (CascaderNode nd in _nodelist) { bool isActive = _renderNodes.Where(n => n == nd).Any(); string activeClass = isActive ? "ant-cascader-menu-item-active" : string.Empty; }
@foreach (CascaderNode node in _renderNodes) { if (node.HasChildren) {
    @foreach (CascaderNode m in node.Children) { bool isActive = _renderNodes.Where(n => n == m).Any(); string activeClass = isActive ? "ant-cascader-menu-item-active" : string.Empty; }
} }