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

Multiple select - Select All and Display number of selected instead of all values #2421

Closed
powermax01 opened this issue Nov 9, 2018 · 7 comments · Fixed by #2741
Closed

Comments

@powermax01
Copy link

What problem does this feature solve?

Situations:
I have a multiple select with about 100 values. I just add an Option [Select All] for user to select all options.
But when use want to select 97 (all then remove 3 options) the list displays label of 97 items.... hmmm, so long text.

What does the proposed API look like?

Suggestion:

  • Officially have Select All option for component.
  • Can I have option to display "(97 items selected)" instead of "option1, option2, option3 ...... option 97"?
  • The number of Items can be configured.

Ex: if number of options is greater than X, component will display: (X items selected) instead of "option1... optionX"

Thanks

@MatGhp
Copy link

MatGhp commented Nov 9, 2018

+1

@chanchaw
Copy link

have not response ? I have the same question

@powermax01
Copy link
Author

Any updates on this?
What does "Ant Design" mean? will it be implemented?

@chanchaw
Copy link

ant design create ng-zorro-antd,it's a company's name
i use PrimeNg's multiple select instead of ng-zorro-antd's

@wzhudev
Copy link
Member

wzhudev commented Nov 20, 2018

Sorry for the late reply guys! We will implement this in our recent milestone I. #2381

@powermax01
Copy link
Author

I see this ticket in the roadmap but not see when it is planned to be resolved.

It's nice to have an estimation since we are using another 3rd party component to do this function of the Select control.
Please tell us about the plan.

Thanks

@MatGhp
Copy link

MatGhp commented Jan 17, 2019 via email

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

Successfully merging a pull request may close this issue.

5 participants