I'm trying to add a radio group but the radio buttons are allowing multiple selection. I imported only the paper-radio-group. How to make it select only one radio button at a time.
<paper-radio-group>
<p>1) <paper-radio-button name="one">Collect is an aggregation and reduce is a fold operation</paper-radio-button></p>
<p>2) <paper-radio-button name="two">Collect is an fold and reduce is a aggregation operation</paper-radio-button></p>
<p>3) <paper-radio-button name="three">Both are the same</paper-radio-button></p>
<p>4) <paper-radio-button name="four">None of the above</paper-radio-button></p>
</paper-radio-group>
Better late then never :) Add whatever tags you want to add but inside paper radio button tag, it should be fine.
<paper-radio-group >
<paper-radio-button name="one"> <p>1)Collect is an aggregation and reduce is a fold operation</p></paper-radio-button>
<paper-radio-button name="two"><p>2)Collect is an fold and reduce is a aggregation operation</p></paper-radio-button>
<paper-radio-button name="three"> <p>3)Both are the same</p></paper-radio-button>
<paper-radio-button name="four"><p>4)None of the above</p></paper-radio-button>
</paper-radio-group>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.