I am currently working with Angular 2 Typescript and encountering an issue. I need to submit a form that includes checkboxes, but the problem lies in obtaining the values from the attributes of these checkboxes. Since the checkboxes are dynamic, there can be any number of them present.
<div class="checkbox" *ngFor="#label of labelList">
<div class="col-sm-4">
<label><input type="checkbox" value="{{label.Id}}">{{ label.Name }}</label>
</div>
</div>