Horje
Can't bind to 'formGroup' since it isn't a known property of 'form Code Example
Can't bind to 'formGroup' since it isn't a known property of 'form
mport { BrowserModule } from '@angular/platform-browser';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppComponent }  from './app.component';

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,
        ReactiveFormsModule
    ],
    ...
Can't bind to 'formGroup' since it isn't a known property of 'form'
Add to app.module.ts:

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';		<--
import { AppComponent }  from './app.component';

@NgModule({
    imports: [
        BrowserModule,
        FormsModule,													<--
        ReactiveFormsModule												<--
    ],
    declarations: [
        AppComponent
    ],
    bootstrap: [AppComponent]
})

export class AppModule { }
Can't bind to 'formGroup' since it isn't a known property of 'form
602875792




7

Related
cannot find module typescript Code Example cannot find module typescript Code Example
npx react typescript Code Example npx react typescript Code Example
how to install typescript in visual studio code Code Example how to install typescript in visual studio code Code Example
google fonts roboto Code Example google fonts roboto Code Example
ts-node call function from command line Code Example ts-node call function from command line Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14