How can I get the initially set FormControl value of a custom component in it's ngOnInit method?
If you set up a form control like so:
testControl = new FormControl("abc123");
Then bind it to your custom component in the html with the attribute like so:
<app-custom-component [formControl]="testControl"></app-custom-component>
How can I access its initial value ("abc123") inside the custom component's ngOnInit() method?
I've already correctly set-up the ControlValueAccessor stuff for my custom component.