googlearchive / paper-dropdown-menu

A UI control to choose an option from a drop-down menu, similar to a <select>
23 stars 21 forks source link

[Enhancement]: multiple labels in input && keep open #72

Open jahglow opened 8 years ago

jahglow commented 8 years ago

Hi, If a paper-listbox is used inside the dropdown, it's possible to make multiselect, though the paper-dropdown menu doesn't allow staying open if it's a multiselect (can't set this attribute or property, have to call .open() which gives this bouncing opening animation, which is annoying) and if an item is unselected, the paper-input is cleared, though it'd be a nice-to-have feature to calculate items selected and if they are more than 0, show them as comma-separated list (trimmed with ellipses) or as an option, to display a number of items, like (6 items selected) with configuarable text.

phlbrz commented 8 years ago

Hello, A list of chip in the input would be interesting also. https://www.google.com/design/spec/components/chips.html