Skip to content

Can't bind to 'formGroup' since it isn't a known property of 'form' #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
deepthan opened this issue Feb 26, 2018 · 0 comments
Open

Comments

@deepthan
Copy link
Owner

Can't bind to 'formGroup' since it isn't a known property of 'form'

在你用表单的模块得引入ReactiveFormsModule FormsModule即可解决

...
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

@NgModule({
    imports: [
        ...
        FormsModule,
        ReactiveFormsModule
    ]
    ...
})

...
@deepthan deepthan changed the title 报错处理之 -- 关于表单 Can't bind to 'formGroup' since it isn't a known property of 'form' Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant