Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnSelect All not working if we use 'allowRemoteDataSearch: true' in ng-multiselect-dropdown #410

Open
bharathkumar2303 opened this issue Sep 16, 2023 · 0 comments

Comments

@bharathkumar2303
Copy link

Angular version: 13.2.0

ng-multiselect-dropdown version: 0.3.4

Description of issue: Im using mg-multiSelect dropdown to select / unselect multiple value by dynamically, so if i use 'allowRemoteDataSearch: true' i can't able to UnSelect All but Select All is working. and if no result found the message also not showing "No result found". Please help me on this how can i achieve, Thanks in advance.

Steps to reproduce:

Expected result:

Actual result:

Demo: Please share sample code link using StackBlitz or codesandbox

Any relevant code:

Type script code:
customerNameSettings = {};
ngOnInit(): void {
    this.customerNameSettings = {
      singleSelection: false,
      idField: 'id',
      textField: 'name',
      itemsShowLimit: 1,
      allowRemoteDataSearch: true,
      noDataAvailablePlaceholderText: 'No data found',
    };
}

html code:
<ng-multiselect-dropdowmn [settings]="customerNameSettings" [data]="customerNameData" name="name" [(ngModel)]="selectedCustomerNames" (onSelect)="onCustomerSelect($event)"              (onDeSelect)="onCustomerDeSelect($event)" (input)="getCustomerNames($event)" (onSelectAll)="onCustomerSelectAll($event)" (onDeSelectAll)="onCustomerUnSelectAll($event)">
</ng-multiselect-dropdown>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant