How to get the selected value of radio button in ionicframework or angularJS


#1

how to get the selected value of radio button in ionicframework or angularJS radio button having same ng-model and name.
Please, let me know the solution


#2

this should get your started
http://docs.angularjs.org/api/ng.directive:input.radio


#3

This example with normal radio button. I need to know about ionicframework radio button


#4

You have to set the ng-model to the $parent-scope, then you get your selectedValue.

Good example: http://stackoverflow.com/questions/17674899/angularjs-model-not-updating-on-selection-of-radio-button-generated-by-ng-repe


#5

Please, give an example with respect to ionicframework. Am not able to get the selected value from radio button of ionicframework. Sometimes value is fetching sometimes not at IPHONE 5S


#6

@shunyaram Right now, Radio buttons and checkboxes are kind of broken in Ionic.


#7

Is it sitll broken mentioned in the github?