Hi.
I'm getting this compiler error in step of Login component when paste the code html:
Error: src/app/pages/login/login.component.html:11:19 - error NG8002: Can't bind to 'formGroup' since it isn't a known property of 'form'.
11
~~~~~~~~~~~~~~~~~~
src/app/pages/login/login.component.ts:7:16
7 templateUrl: './login.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component LoginComponent.
Hi.
I'm getting this compiler error in step of Login component when paste the code html:
Error: src/app/pages/login/login.component.html:11:19 - error NG8002: Can't bind to 'formGroup' since it isn't a known property of 'form'.
11
~~~~~~~~~~~~~~~~~~
Can you help me?
Thks.
I had the same problem...
I fixed it modifying 'login.module.ts'
add the next import
import { ReactiveFormsModule } from '@angular/forms';
and the problem was fixed for me.
Good luck!!