No provider for ControlContainer Error in Angular

Which form you use according to you can add in your Module file.

1. Template-driven forms make use of the "FormsModule".

2. Reactive forms are based on "ReactiveFormsModule".

import { FormsModule } from '@angular/forms';

OR

import { ReactiveFormsModule  } from '@angular/forms';

Note: if its not working you can add both Forms Module

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments