I have discovered a small bug when using collection-repeat with ion-radio elements.
On page load, if the selected-model refers to the first item in the list the checkbox does not appear next to the item. If the model refers to any other item the checkbox appears as expected. Clicking on the first item displays normal behavior. If you are using ion-refresher and refresh your list the checkbox disappears again - if the model refers to the first item
If I use ng-repeat instead of collection-repeat the problem does not occur.
I forked off of the nightly radio-button showcase to demonstrate the issue
-
The first item in the list is “bb” and that the model data is set to “bb” – nothing is selected.
-
Change $scope.data to refer to any other item and the checkbox appears when the code is executed
-
Change collection-repeat to ng-repeat and change $scope.data back to “bb” and it is selected as expected