Skip to content

Select All, Select None, works only for filtered results. #390

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

Closed
miguelfrias opened this issue Jan 13, 2016 · 3 comments
Closed

Select All, Select None, works only for filtered results. #390

miguelfrias opened this issue Jan 13, 2016 · 3 comments

Comments

@miguelfrias
Copy link

Select All, Select None and Reset button, works only for filtered results.

I think that should work on the entire inputModel.

https://plnkr.co/edit/zBfYpI1olLQbfaYZaxAQ?p=preview

Steps to replicate:

1.- Open https://plnkr.co/edit/zBfYpI1olLQbfaYZaxAQ?p=preview
2.- Open the dropdown and select the first three (Albania, Algeria, Argentina)
3.- Search 'united'
4.- Click select all button (filter).

Notice that just the options displayed in the filter are been select. Expected: All options should be selected.

5.- Click select none button (filter).

Notice that just the options displayed in the filter are been deselect, which means that you still have 3 in the output model. Expected: All options should be un-selected.

@miguelfrias
Copy link
Author

#391 #390

@isteven
Copy link
Owner

isteven commented Jan 14, 2016

@miguelfrias ,

This is actually intentional. Since v2.0.0 (https://github.com/isteven/angular-multi-select/releases), the buttons work on filtered results.

@isteven isteven closed this as completed Feb 10, 2016
@molerat619
Copy link

Is there a way to disable that behavior and make the buttons always work on all results?

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

3 participants