how could you achieve in Angular 4 that when you register in a checkbox save an \"A\" or \"B\" value. As much as I try, he is only sending me true or false, I hope someone c
This it what you are looking for:
Inside your class:
checkValue(event: any){ console.log(event); }
Also include FormsModule in app.module.ts to make ngModel work !
app.module.ts
Hope it Helps!