I am using chrome.
This is my html code
ng-repeat="tag in formData.amenities"><label><input type="checkbox" ng-model="tag.enabled">{{tag.text}}:{{tag.enabled}}
I am able to collect tag values when I check/uncheck from the view. The problem is in reverse binding.
I am reading the values back and then applying to the above code. I can see that tag.enabled is set to true but the view doesnt show checked.
I have tried $scope.apply
but even that doesnt update the view.
Aucun commentaire:
Enregistrer un commentaire