From 006f618c36f817374e62f6ba6e5b5de61a2a41cc Mon Sep 17 00:00:00 2001 From: Sebastian Seedorf Date: Fri, 2 Jun 2017 17:36:32 +0200 Subject: [PATCH] added validation, error messages, help tooptips, async question loading and textarea input --- .idea/typescript-compiler.xml | 2 - .idea/workspace.xml | 726 +++++++++++++++--- src/app/app.component.ts | 18 +- .../modules/dyn-form/dyn-form.component.ts | 32 +- src/app/modules/dyn-form/dyn-form.module.ts | 9 +- .../dyn-form/dyn-question.component.ts | 67 +- .../inputs/counter-input.component.ts | 15 +- .../dyn-form/inputs/custom-input.component.ts | 25 +- .../inputs/dropdown-input.component.ts | 43 +- .../dyn-form/inputs/tag-input.component.ts | 15 +- .../inputs/textarea-input.component.ts | 54 ++ .../dyn-form/services/question.service.ts | 31 +- .../dyn-form/services/value.service.ts | 12 + src/app/modules/dyn-form/types/keys.pipe.ts | 12 + src/app/services/http-cached.service.ts | 21 +- src/tsconfig.json | 4 +- 16 files changed, 877 insertions(+), 209 deletions(-) create mode 100644 src/app/modules/dyn-form/inputs/textarea-input.component.ts create mode 100644 src/app/modules/dyn-form/services/value.service.ts create mode 100644 src/app/modules/dyn-form/types/keys.pipe.ts diff --git a/.idea/typescript-compiler.xml b/.idea/typescript-compiler.xml index 778bac5..c6b62a3 100644 --- a/.idea/typescript-compiler.xml +++ b/.idea/typescript-compiler.xml @@ -1,8 +1,6 @@ - diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0bd0570..8112a10 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,11 +1,23 @@ - + + + + + + + + + + + + + @@ -19,69 +31,28 @@ - - - + + + - - - - - - - - - - - - - - - - - - - - - - + + - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - + @@ -90,10 +61,41 @@ - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -101,13 +103,37 @@ + + + @@ -128,6 +154,20 @@ + + + + + + + + + Internationalization issues + + + + + @@ -143,6 +183,8 @@ + + @@ -295,12 +337,38 @@ + + + + + - + + + + + + + + @@ -335,13 +403,19 @@ - - + + + + + + + + - + @@ -394,6 +468,12 @@ + project + + + + + @@ -416,10 +496,26 @@ false + + + + +