how to sort dropdown items in angular checked item first

Discussão em 'Angular' iniciado por sr123, Dezembro 30, 2024.

  1. sr123

    sr123 Guest

    please how to sort my dropdown list items to make checked items first ?

    <p-multiSelect
    [options]="myOptions"
    [(ngModel)]="option.label"
    (ngModelChange)="detectChange(option)"
    [ngClass]="isInheritedFromMain(option.id, relType) ? 'isDisabled' : ''"
    defaultLabel="Choose an option"
    ></p-multiSelect >

    Continue reading...

Compartilhe esta Página