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

paper-radio-group single select disrupted #29

Closed
vikjung opened this issue Jul 23, 2015 · 2 comments
Closed

paper-radio-group single select disrupted #29

vikjung opened this issue Jul 23, 2015 · 2 comments

Comments

@vikjung
Copy link

vikjung commented Jul 23, 2015

paper-radio-group single select gets messed up if anything added around a radio button. e.g
a div added in one of the radio buttons

paper-radio-group selected="small">
div>paper-radio-button name="small">Small/paper-radio-button>
paper-radio-button name="medium">Medium/paper-radio-button>
paper-radio-button name="large">Large/paper-radio-button>
/paper-radio-group>

@SayChunKim
Copy link

According what i could understand, paper-radio-group allows user to select only one radio button from a set and contains the buttons altogether. If you add div inside the group, its more likely breaking the radio button into multiple sets, allowing multiple clicks possible.

Adding div end tags outside paper-radio-group or not adding anything will not hurt the paper-radio-group.

Hope helps

@notwaldorf
Copy link
Contributor

paper-radio-group can only select direct paper-radio-button children. It does not support selecting nested children (see PolymerElements/iron-selector#42 for the underlying issue)

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

No branches or pull requests

3 participants