From 9513d1db6aea404cc6180c67bb1c8ee1be2ddc89 Mon Sep 17 00:00:00 2001 From: Lukas Kimpel <lukas.kimpel@mni.thm.de> Date: Tue, 6 Mar 2018 18:09:16 +0100 Subject: [PATCH] Add reactive forms for error display --- src/app/app.module.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d369879ae..3391ff636 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -9,7 +9,7 @@ import { RegisterComponent } from './register/register.component'; import { PasswordResetComponent } from './password-reset/password-reset.component'; import { AppRoutingModule } from './app-routing.module'; -import { FormsModule } from '@angular/forms'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { PageNotFoundComponent } from './page-not-found/page-not-found.component'; import { FlexLayoutModule } from '@angular/flex-layout'; import { @@ -101,12 +101,13 @@ import { AuthenticationGuard } from './authentication.guard'; MatTableModule, MatTabsModule, MatToolbarModule, - MatTooltipModule + MatTooltipModule, + ReactiveFormsModule ], providers: [ NotificationService, AuthenticationService, - AuthenticationGuard + AuthenticationGuard, ], bootstrap: [AppComponent] }) -- GitLab