Pass a ngModel from a Child Component to a Parent Component containing the ngForm

Viewed 272

I'am trying to create a ngForm on a parent-component where I have a child-component with a ngModel on an input, I want my ngForm to get the value of the ngModel.

This is the error.

Error: Uncaught (in promise): Error: No value accessor for form control with name: 'InputName'

Link to StackBlitz Project

Let me know if you need anything else.

1 Answers
Related