1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

ng-multiselect-dropdown getting fired always

Discussão em 'Angular' iniciado por Joseph, Outubro 14, 2024.

  1. Joseph

    Joseph Guest

    I am using the ng-multiselect-dropdown. I am having an issue with one of the callbacks

    <ng-multiselect-dropdown *ngIf="filteredSids.length > 0"
    [data]="filteredSids"
    [disabled]="false"
    [(ngModel)]="selectedSids"
    (onSelect)="selectedSIDs($event); onItemSelect($event)"
    (onSelectAll)="onSelectAll($event)"
    (onDeSelect)="onItemDeSelect($event)"
    (onDeSelectAll)="onDeSelectAll($event)"
    [settings]="dropdownSettings"
    (onDropDownClose)="onCloseDialog($event)">
    </ng-multiselect-dropdown>


    The onDropDownClose callback getting fired not only when the drop down dismisses but when I click anywhere in the page. Its getting fired even if the dropdown is in dismissed state. I do need to get this fired only when the dropdown dismisses. Any help appreciated.

    Continue reading...

Compartilhe esta Página