<div>
    <label class="cdk-visually-hidden" [attr.for]="_control.id">{{ label }}</label>
    <!-- We only allow formfield controls here -->
    @if (!hasDropdown) {
        <div class="nx-word__inner-wrapper">
            <ng-content select="[nxInput]"></ng-content>
        </div>
    }
    <ng-content select="nx-dropdown"></ng-content>
</div>

<nx-popover #popover>
    <ng-content select="[nxError]"></ng-content>
</nx-popover>
