I am new to AngularJS. I have a code like below,
On selection of a record by clicking on checkbox I receive "existingEntitlement.Selected" in the function addRemoveSelectedRecord() as false. I expect it as true.
<tr dir-paginate="existingEntitlement in allEntitlements>
<td>
<input type="checkbox" ng-model="existingEntitlement.Selected" ng-change="addRemoveSelectedRecord(,);">
</td>
</tr>
Note: allEntitlements is a json array. existingEntitlement is a json record. and "Selected" attribute is initialized to false.
Aucun commentaire:
Enregistrer un commentaire