Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48981

selects all radio buttons by default

$
0
0

Hello,

I am using the below code to generate a list of radio buttons in my “native” app.
The radio group is generated just fine but when I select a single option, all of the radio buttons are getting selected.

        <ion-list>
            <ion-radio-group>
              <ion-item v-for="br in brItems" :key="br.id">
                <ion-label>{{ br.name }}</ion-label>
                <ion-radio value="{{br.id}}" ></ion-radio>
              </ion-item>
            </ion-radio-group>
          </ion-list>

I had seen a 5 year old topic on the same and apparently back then it was a bug.
Is this bug still persistent ?
https://forum.ionicframework.com/t/radio-button-bug-all-options-get-selected-with-radiogroup/40258

Did I miss a step?

Any inputs will be appreciated.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 48981

Trending Articles



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