I'm having a hard time figuring out something that is very likely a mistake on my part.
I'm creating a custom dynamic form component that will allow developers to create forms using only TS. The problem is happening with checkboxes. After If I read FormGroup's value before clicking the checkbox it's undefined, if I click on it, it becomes (correctly) true, but if I click again, it remains (uncorrectly) true. What am I missing here?
I've created a stackblitz to show this behavior. Please look at the console for output.
https://stackblitz.com/edit/angular-fydiwl
Thanks!
ControlValueAccessorand then can that component as you would a native input element.