Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Radio button bug: All options get selected with radiogroup

$
0
0

You posted in the right place. :smile: It seems the radio component is expecting a value for each radio, and when it doesn't exist it doesn't know how to select the one you clicked. If you can add a value to each radio (for now) it should work the way you want, but I created an issue for this.

<ion-list radio-group>
   <ion-list-header>
       Options
   </ion-list-header>
   <ion-radio value="1">
      Option 1
   </ion-radio>
   <ion-radio value="2">
       Option 2
   </ion-radio>
   <ion-radio value="3">
       Option 3
   </ion-radio>
   <ion-radio value="4">
      Option 4
  </ion-radio>
</ion-list>

The docs are sometimes not up-to-date with the latest release since they have to be manually updated. We're working on fixing this.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>