I have dynamic components in form and I want to connect fields with angular reactive forms.
for example we have
first-component.html
<form [formGroup]="myform">
...
<second-component></second-component>
...
<button type="submit">
</form>
second-component.html
<div ngFor ...>
...
<third-component></third-component>
...
</div>
third-component.html
<div>
...
<input type="text">
...
</div>
How to add "FormControlName" in third component, that is field?