Currently, I am working on a scenario that involves nesting repetition as shown below:
<form name="task_form" ng-app="myApp" ng-submit="tasksubmit()">
<ul class="items-list">
<li ng-repeat="task in taskslist | orderBy:orderProp">
<p>
<strong>{{task.title}}</strong>
</p>
<input type="text" ng-model="task.input_value">
</li>
</ul>
</form>
If the taskslist
array contains 100+ tasks, this means there are more than 100 identical ng-model
values for the <input type=text>
element. The issue arises when trying to retrieve the values for <input type = text>
based on any specific task.id
, in order to utilize these input values for further processing.