@namespace AntDesign @inherits AntInputComponentBase
@if (string.IsNullOrWhiteSpace(Value) || !ShowClearIcon) { } else { } @if (ToggleState) {
    @foreach (CascaderNode nd in _nodelist) { bool isActive = _renderNodes.Where(n => n.Label == nd.Label).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.Label == m.Label).Any(); string activeClass = isActive ? "ant-cascader-menu-item-active" : string.Empty; }
} }
}