@youssefff wrote:
Hi guys,
I'm new to ionic developpement, I'm trying to load some data into a list,it works well, and i added a toggle in each list,and it works too, but the problem when click on a toggle, all of them become active, heres my code, can any body help me please how to resolve this problem<div class="item item-divider" >{{key}}</div> <li class="item item-toggle" ng-repeat="var in value"> {{var.designation}}:{{var.id}} <label class="toggle toggle-positive"> <input type="checkbox" ng-model="check.bool" ng-click="check.isActive()"> <div class="track"> <div class="handle"></div> </div> </label> </li>
Posts: 1
Participants: 1