damirarh/damirscorner-utterances

blog/posts/20220729-CrossComponentAngularForms

Opened this issue · 3 comments

This works totally fine when we use member component on one parent component. but for multiple parent components it throws error "NG0201: No provider for NgControl found in NodeInjector." Child component was added with Module as well.

@jatinvv Are you using multiple modules? The error sounds like you're missing a ReactiveFormsModule import in one of the modules.

Thank you... It worked that was true.. I missed to import ReactiveFormsModule.