From a25391e116d0587cf71d8d923ff18db4191e38ba Mon Sep 17 00:00:00 2001 From: Yannick Baron Date: Thu, 27 Oct 2016 16:35:49 +0200 Subject: [PATCH] settings.component: used reactive forms --- src/app/settings/settings.component.html | 17 ++++------ src/app/settings/settings.component.ts | 42 +++++++++++++++++++----- 2 files changed, 40 insertions(+), 19 deletions(-) diff --git a/src/app/settings/settings.component.html b/src/app/settings/settings.component.html index 59ed4975..c98b3123 100644 --- a/src/app/settings/settings.component.html +++ b/src/app/settings/settings.component.html @@ -7,31 +7,28 @@

Your Settings

-
+
+ formControlName="image" />
+ formControlName="username" />
@@ -39,16 +36,14 @@

Your Settings

+ formControlName="email" />
+ formControlName="password" />