Skip to content

New customization options for when there are more than max-labels items #376

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

miikka
Copy link

@miikka miikka commented Dec 15, 2015

I needed to have some extra control over text in the dropdown when there are more than max-labels items, so I made the following changes:

  • Make the ellipsis after the items customizable with the attribute more-text, so instead of "foo, bar, ... (5)" you can have "foo, bar (CLICK FOR MORE) (5)"
  • Add the attribute show-counter for always hiding the counter ("foo, ... (5)" -> "foo, ...")

I tried to made it so that the defaults are as before. I hope that editing the HTML files was the right way to add the documentation for the new attributes.

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

Successfully merging this pull request may close these issues.

1 participant