How to disable ,hiding options from dopdown after selection

Discussão em 'Angular' iniciado por mevr, Agosto 18, 2025.

  1. mevr

    mevr Guest

    Am working on angular application with primeng. I need to stop hiding the options of menu dropdown after selecting an option!

    <p-menu onchange="onSelected" [showTransitionOptions]="'0ms'" [hideTransitionOptions]="" #menu [popup]="true"
    [model]="items"></p-menu>
    <button type="button" pButton icon="fa fa-fw fa-list" label="Sort"
    (click)="menu.toggle($event)"></button>


    onSortingSelected() {
    event.stopPropagation();
    }


    How to solve this? I need to click on multiple selection options one at a time without hiding the option list!

    Continue reading...

Compartilhe esta Página