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
Inside your component class:
checkValue(event: any) { this.userForm.patchValue({ state: event }) }
Now in controls you have value A or B