blog/posts/20220729-CrossComponentAngularForms
Opened this issue · 3 comments
utterances-bot commented
Cross-component Angular Forms | Damir's Corner
https://www.damirscorner.com/blog/posts/20220729-CrossComponentAngularForms.html
jatinvv commented
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.
damirarh commented
@jatinvv Are you using multiple modules? The error sounds like you're missing a ReactiveFormsModule
import in one of the modules.
jatinvv commented
Thank you... It worked that was true.. I missed to import ReactiveFormsModule.