Hi guys i read lot of questions about this but i trying and i didn't reach what i wanted. So i ask another question:
I have this div, where i show a list of users that i can invite to my auction. The list is loaded from DB:
<div ng-show="showBid" class="panel panel-default">
<div class="panel-heading">Invite Members</div>
<div class="panel-body">
<div ng-repeat="user in users">
<label class="col-md-4" ng-hide="user.name == profile">
<img ng-src="" class="userImage">
<div class="username"> </div>
<div class="userrole"> </div>
<div class="usercompany"></div>
<input type="checkbox" ng-model="user.isChecked" ng-change="insertinvited(user)">
</label>
</div>
Now all works fine, but i want check all the label in which i show the users instead of the checkbox. How can i do something like this?
Aucun commentaire:
Enregistrer un commentaire