Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

md-select template displays items and commas in separate lines #6245

Closed
egamonal opened this issue Dec 11, 2015 · 3 comments
Closed

md-select template displays items and commas in separate lines #6245

egamonal opened this issue Dec 11, 2015 · 3 comments

Comments

@egamonal
Copy link

Affects at least v1.0.0-rc7

when selecting multiple elements the label is updated with a concatenation of selected values and commas. Additionally, there is one line per item (value, comma, value, comma, etc)

this codepen shows the wrong behaviour:
http://codepen.io/team/AngularMaterial/pen/RrbXyW

screen shot 2015-12-11 at 13 49 44

I think the best approach should be allowing to override thi, so that we can use md-select to search multiple values, click on them and add them to a results list. I'd display the results in a different place, for example http://i.stack.imgur.com/f3QHk.png
md-select is great for very short lists but when there are more than, say, 10, it's quite hard to use.

@danjarvis
Copy link
Contributor

This was introduced in rc5. This is a duplicate of #5926 and #6176 :)

@egamonal
Copy link
Author

and apparently it was fixed in 2ab3075 2 days ago
I promised I searched before ;)
thanks!

@danjarvis
Copy link
Contributor

@egamonal It is OK -- I did the same thing as you ;)

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

No branches or pull requests

2 participants