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

Summarize based on text width, not hard-coded limit of 4 choices #429

Closed
MelGrubb opened this issue Nov 14, 2014 · 2 comments
Closed

Summarize based on text width, not hard-coded limit of 4 choices #429

MelGrubb opened this issue Nov 14, 2014 · 2 comments

Comments

@MelGrubb
Copy link

It seems that as soon as you select 4 items, the title turns into a summary. It would be nice if this were dynamic based on the width of the text instead. I have a drop-down list of Ohio counties, and only an md-2 column to display it in. Since some counties names can be rather long (e.g. Ashtabula, Champaign, Columbiana), just selecting three of them causes the text to wrap outside of the control.

I would like to see two things.

  1. The text becomes abbreviated based on whether or not it would wrap. (e.g. "3 selected")
  2. A choice to simply cut off the text rather than switching to a summary (e.g. "Ashtabula, Champai...")

Since the tooltip already shows all the selected items, I think the second choice would look nice in most cases.

@Tyf0x
Copy link
Contributor

Tyf0x commented Nov 27, 2014

Should be fixed in the pull request #438

@davidstutz
Copy link
Owner

Would definitely be great options, I will have a look at @Tyf0x's pull request. Thanks in advance, @Tyf0x!

davidstutz added a commit that referenced this issue Feb 13, 2015
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