Ionic radio button value not found in scope solved

Ionic radio button value not found in scope solved
Ionic radio button value not found in scope solved

Ionic radio button value not found in scope solved. Due to minor code mistake ion-radio default checked, ionic radio button get value, ionic radio group not working proper in ionic angular form.

Here is simple step for ionic radio, you can try when ionic radio button change not recognized by controller scope or ion-radio does not change value on click or to get radio input value using Ionic and AngularJS.

ionic radio button value not found in scope solution steps

Step No. Steps
1 Take code reference from ionic docs ion-radio directive example
2 Compare your code with example
3 Check ng-value given in quotes, e.g., ng-value=” ‘A’

ionic radio button example

<ion-radio ng-model="choice" ng-value="'A'">Choose A</ion-radio>
<ion-radio ng-model="choice" ng-value="'B'">Choose B</ion-radio>
<ion-radio ng-model="choice" ng-value="'C'">Choose C</ion-radio>