I am trying to populate a checkbox, a label and two text boxes on ng-repeat loop.
When the checkbox is selected, its corresponding row is enabled for text boxes to be editable. I need to get the data entered in the first row and then copy that data to the next rows which ever is selected.
<div class="row" ng-repeat="option in coverages">
<div class="col-md-3">
<input id="{{option}}" type="checkbox" ng-model="optionChecked" class="border-horizontal" />
<label for="{{option}}">{{option}}</label>
</div>
<div class="col-md-3">
<input type="text" class="form-control input-sm border-horizontal" ng-disabled="!optionChecked" />
</div>
<div class="col-md-3"><input type="text" class="form-control input-sm border-horizontal" ng-disabled="!optionChecked" />
</div>
</div>