Is it not possible to have form input elements within an ng-content and have that "connect" to the ngForm instance of the parent component?
Take this basic template for a parent component:
<form (ngSubmit)="onSubmit(editForm)" #editForm="ngForm" novalidate>
<ng-content></ng-content>
<button type="submit">Submit</button>
</form>
Then inside the child component, which is put inside "ng-content", something like this:
<input type="text" [(ngModel)]="user.firstName" #firstName="ngModel" name="firstName" required minlength="2">
On submit of the parent form, the child controls are not available, which also means that dirty/validation of whatever is in the child component is not reflected on the parent form.
What is missing here?