paper-radio-group icon indicating copy to clipboard operation
paper-radio-group copied to clipboard

paper-radio-group is not multiselectable despite "multi" property

Open ghost opened this issue 9 years ago • 1 comments

Description

Radio buttons are not multiselectable despite of "multi" property. That happens because, since tag 1.0.2, paper-radio-group.html implements "select" method. In older versions, that method has been called from "iron-selector/iron-multi-selectable.html"

Expected outcome

In this simple example: <paper-radio-group multi> <paper-radio-button name="a">a</paper-radio-button> <paper-radio-button name="b">b</paper-radio-button> </paper-radio-group>

and selecting both radio buttons, both remain selected.

Actual outcome

Only last element is selected.

Browsers Affected

  • [x] Chrome
  • [x] Firefox
  • [x] Safari

ghost avatar Oct 25 '16 13:10 ghost

Similar issue. On your example, if you remove the name tags, the element works as expected, but as soon as you add name tags, multiselect goes berserk.

That would be a solution, but currently name is needed in order to work with selected-values (getting and setting). So, bug still persists.

benquan avatar Feb 22 '18 08:02 benquan