Let's say I have this:
<input formControlName="someName" (click)="onClick()">
I want my onClick function to be generic and set the value of the corresponding FormControl (the one I clicked).
How can I pass the concerned FormControl as a parameter of onClick?
I thought I could retrieve it from the control property of FormControlDirective or FormControlName but none of them have an exportAs attribute.