Radio button checked value not working


#1
<input type="radio" name="sex" value="m" data-ng-model="param_sex" id="sexm" checked="checked" class="ng-pristine ng-valid disable-user-behavior">

I’m wondering where the class="ng-pristine ng-valid disable-user-behavior" comes from and if it’s messing with the checked=“checked” value that doesn’t actually check the box.


#2

Seems only to present a problem when data-ng-model is present


#3

Have you tried with just <ion-checkbox>?

        <ion-checkbox ng-repeat="item in devList"
                      ng-model="item.checked" 
                      ng-checked="item.checked">
          {{ item.text }}
        </ion-checkbox>

#4

Instead of using html to set the checked value, I added $scope.radio_param = "value I want checked by default"