<nx-context-menu #menu2="nxContextMenu">
    <nx-context-menu-header>Car damage</nx-context-menu-header>
    <nx-checkbox-group [(ngModel)]="selected">
        <nx-context-menu-item-wrap>
            @for (o of options; track o) {
            <div
                nxContextMenuItem
                nxContextMenuItemCheckbox
                disableCloseOnSelect
            >
                <nx-checkbox [value]="o.value">{{o.label}}</nx-checkbox>
            </div>
            }
        </nx-context-menu-item-wrap>
    </nx-checkbox-group>
</nx-context-menu>

<button
    nxButton="tertiary small"
    class="uppercase"
    [nxContextMenuTriggerFor]="menu2"
    aria-label="Open menu"
    type="button"
>
    Car damage
    <nx-icon aria-hidden="true" name="chevron-up" nxIconPositionEnd></nx-icon>
</button>
<div class="nx-margin-top-s">Model: {{selected}}</div>
