diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 60cf6f0..4174992 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,6 +3,7 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppRoutingModule } from './app-routing.module'; import { HttpClientModule } from '@angular/common/http'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; //#endregion //#region COMPONENTS @@ -28,7 +29,10 @@ import { BusquedaProductosComponent } from './components/busqueda-productos/busq imports: [ BrowserModule, AppRoutingModule, - HttpClientModule + HttpClientModule, + FormsModule, + ReactiveFormsModule, + ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }) ], providers: [], bootstrap: [AppComponent]