mardi 5 février 2019

Why won't my checkboxes appear selected when I pass the correct data into them?

So I have a table that is suppose to reflect data that is passed in from sql and one of these data fields is a boolean that is supposed to be shown by a checkbox

From what I can tell I have set up the checkbox correctly but it still will not show as true. I also had it print out the value next to the check box to make sure the correct value was being passed.

<input name="DidPass" type="checkbox" ng-model="task.DidPass" ng-true-value="1" ng-false-value="0">

Here is a picture of the result. mycode




Aucun commentaire:

Enregistrer un commentaire