I am using Angular 2 Typescript. I am facing a problem wherein I need to submit a form which contains check boxes. I need values that are in the attributes of checkboxes. The ch
enter code here
submitForm(form:NgForm){ console.log(form.value); }
{{ label.Name }}
Use name attribute including label.id,so you will get all value in array form.
GUESS THIS WILL HELP.