Answer the question
In order to leave comments, you need to log in
How to mark the necessary checkboxes?
There are three checkboxes, for example:
<div ng-repeat="judge in judges">
<input type="checkbox" name="eventJudge[]" ng-model="form.eventJudge.[judge.id]" value="{{judge.id}}">
</div>
Answer the question
In order to leave comments, you need to log in
the structure of the array is not clear. if the indices of both arrays are the same, then
if not, then run through the iterator and throw in judges an additional flag eventJudge which is taken from the array and: it’s
just not clear why the checkbox values are stored separately from the judge dictionary
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question