|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
import { Component, ComponentFactoryResolver, Input, ViewChild, OnInit, forwardRef } from '@angular/core';
|
|
|
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
|
-import { ComponentHostDirective } from '@directives/component-host.directive';
|
|
|
+// import { ComponentHostDirective } from '@directives/component-host.directive';
|
|
|
|
|
|
// Group into barrel: https://basarat.gitbooks.io/typescript/docs/tips/barrel.html
|
|
|
import { BasicinputComponent } from './../../fields/basicinput/basicinput.component';
|
|
@@ -27,13 +27,14 @@ type ValidComponentType = BasicinputComponent | DropdownModifiedInputComponent |
|
|
|
}
|
|
|
]
|
|
|
})
|
|
|
-export class DynarowComponent implements OnInit, ControlValueAccessor {
|
|
|
+export class DynarowComponent /* implements OnInit, ControlValueAccessor */ {
|
|
|
|
|
|
+ /*
|
|
|
@Input()
|
|
|
meta; // TODO: Add type - will be a union type of all input types available - probably (?)
|
|
|
|
|
|
- @ViewChild(ComponentHostDirective)
|
|
|
- host: ComponentHostDirective;
|
|
|
+ // @ViewChild(ComponentHostDirective)
|
|
|
+ // host: ComponentHostDirective;
|
|
|
|
|
|
label: string;
|
|
|
currentValue: string | boolean;
|
|
@@ -79,4 +80,5 @@ export class DynarowComponent implements OnInit, ControlValueAccessor {
|
|
|
}
|
|
|
|
|
|
public registerOnTouched(fn: any): void {}
|
|
|
+ */
|
|
|
}
|