I am not sure whether I am posting this in the correct section or not, since I am quite new to the forums, but I’ll give it a go. I am trying to build an app with Ionic 2 typescript, but I encountered a bug wich kinda stops me developing the app futher. I’ve added a radio group with four options, when I try to select an option it selects them all, at least visually.
Has anyone else encountered this bug? Would appreciatie the help. You’ll find my html and a screenshot below.
PS: I’ve also tried to create a CodePen example of the bug, but I couldn’t find a Ionic 2 cdn to add to my CodePen en thus create an example. If that is possible, I’d like to know how for future questions.
I have used the Ionic 2 doc example yes. Seems to working just fine in the docs, but when I try to use in my app I get the bug descriped. FYI => I’ve tried the basic usage example and the example docs here.
I’ll take a look in the topic you’ve linked. As for the bottom bar. I took my inspiration from the Ionic 2 doc example for the fab button. See here. As you can see the bottom button in the example also has a bottom toolbar.
You posted in the right place. 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.
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
Sorry about that. I was testing it on master instead of using alpha.45. Unfortunately that seems to be a bug with the latest release that has been fixed on master, but not released yet. There are some related issues here: