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

Hi,

Thank you for your answer! I´ve added the values as you mentioned. It indeeds stops selecting all the values when clicking one. But it still aint working as it should.

When I click an option, no matter wich option, it visually selects the last option available in the radio button group. As you can see in my screenshot

This is the HTML used.

<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>

As you can see I have four options. Looking at the console logs in visible I have not clicked option 4 but it is still selected.

When I click a different option, the console log still registers that I've clicked another option.Only it doesn't change the options visually.

EDIT: @brandyshea Do you have a Ionic 2 CDN available, so I can create CodePen examples in the future?


Viewing all articles
Browse latest Browse all 228595

Trending Articles