<tr ng-repeat="languages in samln">
<td>
<span>{{languages.emplang}}</span>
</td>
<td>
<input type="checkbox" name="checkbox1-" id="sp1" value="false" style="margin-left:40px;" ng-model="languages.speak">
</td>
<td>
<input type="checkbox" name="checkbox2-" id="rea1" value="false" style="margin-left:40px;" ng-model="languages.read">
</td>
<td>
<input type="checkbox" name="checkbox3-" id= "wr1" value="false" style="margin-left:40px;" ng-model="languages.write">
</td>
</tr>
It has two string values true and false. I gave as value="false" but checkbox is not getting checked and Here languages is a list.
Aucun commentaire:
Enregistrer un commentaire