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

Select all option #3615

Closed
fbcarpinato opened this issue Jun 20, 2019 · 3 comments
Closed

Select all option #3615

fbcarpinato opened this issue Jun 20, 2019 · 3 comments
Assignees

Comments

@fbcarpinato
Copy link

What problem does this feature solve?

I want to be able to have a select all option for the multi select component

What does the proposed API look like?

<nz-select [selectAll]="true">

@wzhudev
Copy link
Member

wzhudev commented Jun 20, 2019

Pass keys of all items into [ngModel].

This proposed API would result in confusion and inconsistent with the existing API.

@wzhudev wzhudev closed this as completed Jun 20, 2019
@fbcarpinato
Copy link
Author

Okay, but every time I want to have an option for selecting/deselecting all items I have to do it by myself

@wzhudev
Copy link
Member

wzhudev commented Jun 21, 2019

@fbcarpinato Yes. Selecting all is just a special case of selecting something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants