diff --git a/src/app/models/template.model.ts b/src/app/models/template.model.ts
index 23cbbe6..94be281 100644
--- a/src/app/models/template.model.ts
+++ b/src/app/models/template.model.ts
@@ -7,4 +7,10 @@ export class TemplateModel extends BaseModel {
version = 0;
first_id: IdModel = null;
parameters: {name: string, range: {[prop: string]: any}, rangeString?: string}[] = [];
+
+ deserialize(input: any): this {
+ Object.assign(this, input);
+
+ return this;
+ }
}
diff --git a/src/app/sample/sample.component.html b/src/app/sample/sample.component.html
index 6260eda..b8f1818 100644
--- a/src/app/sample/sample.component.html
+++ b/src/app/sample/sample.component.html
@@ -160,14 +160,23 @@
-
- {{parameterInput.errors.failure}}
- Cannot be empty
-
+
+
+
+ Cannot be empty
+
+
+ {{parameterInput.errors.failure}}
+ Cannot be empty
+
+
@@ -182,21 +191,30 @@
-
- {{parameterInput.errors.failure}}
- Cannot be empty
-
-
- Cannot be empty
-
+
+
+ Cannot be empty
+
+
+
+ Cannot be empty
+
+
+ {{parameterInput.errors.failure}}
+ Cannot be empty
+
+