<angular2-multiselect
[data]="sortedDataList | OrderBy : 'clientName'" [(ngModel)]="selectedItem[sortedDataList.clientId]"
[settings]="dropdownSettings" name="multiSelect"
(onSelect)="onItemSelect($event, sortedDataList.clientId)"
(onDeSelect)="OnItemDeSelect($event,sortedDataList.clientId)"
(onSelectAll)="onSelectAllItems($event)"
(onDeSelectAll)="onDeselectAllItems($event)" disabled>
<c-item>
<ng-template let-item="item">
<label style="color: #333;min-width: 160px;">{{item.clientName}}- {{item.clientId}}</label>
</ng-template>
</c-item>
</angular2-multiselect>
sortedDataList represents the list fetched from the backend and everything is functioning correctly, except for the issue with checkboxes in the dropdown. When attempting to select a single checkbox, all checkboxes get selected instead.