Commit 99114f7f563e55c131dd5156489dfcf67b4ed928
1 parent
64e50ad625
Exists in
master
and in
1 other branch
Agregado modulos.
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/app/app.module.ts
| ... | ... | @@ -3,6 +3,7 @@ import { BrowserModule } from '@angular/platform-browser'; |
| 3 | 3 | import { NgModule } from '@angular/core'; |
| 4 | 4 | import { AppRoutingModule } from './app-routing.module'; |
| 5 | 5 | import { HttpClientModule } from '@angular/common/http'; |
| 6 | +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; | |
| 6 | 7 | //#endregion |
| 7 | 8 | |
| 8 | 9 | //#region COMPONENTS |
| ... | ... | @@ -28,7 +29,10 @@ import { BusquedaProductosComponent } from './components/busqueda-productos/busq |
| 28 | 29 | imports: [ |
| 29 | 30 | BrowserModule, |
| 30 | 31 | AppRoutingModule, |
| 31 | - HttpClientModule | |
| 32 | + HttpClientModule, | |
| 33 | + FormsModule, | |
| 34 | + ReactiveFormsModule, | |
| 35 | + ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }) | |
| 32 | 36 | ], |
| 33 | 37 | providers: [], |
| 34 | 38 | bootstrap: [AppComponent] |