aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/shared/components/formControls
diff options
context:
space:
mode:
authorYoav Schneiderman <yoav.schneiderman@intl.att.com>2020-01-08 14:46:14 +0200
committerIttay Stern <ittay.stern@att.com>2020-01-09 13:29:49 +0000
commit4ef3ee778fc944cdfe28146d4eed360ce096e5ee (patch)
treec641429928518b64f7a39acd1d241043a28978cd /vid-webpack-master/src/app/shared/components/formControls
parente8414b1fe839291418ead3a7e5a64bf382dc1121 (diff)
Upgrade to Angular 8
Issue-ID: VID-742 Change-Id: Ic4b3aae71d4c946e23d854847a49aa7e020c465d Signed-off-by: Yoav Schneiderman <yoav.schneiderman@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/components/formControls')
-rw-r--r--vid-webpack-master/src/app/shared/components/formControls/component/file/file.formControl.component.ts2
-rw-r--r--vid-webpack-master/src/app/shared/components/formControls/component/input/input.formControl.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/vid-webpack-master/src/app/shared/components/formControls/component/file/file.formControl.component.ts b/vid-webpack-master/src/app/shared/components/formControls/component/file/file.formControl.component.ts
index 2c2172005..aadf13ebe 100644
--- a/vid-webpack-master/src/app/shared/components/formControls/component/file/file.formControl.component.ts
+++ b/vid-webpack-master/src/app/shared/components/formControls/component/file/file.formControl.component.ts
@@ -11,7 +11,7 @@ import {FileFormControl} from "../../../../models/formControlModels/fileFormCont
export class FileFormControlComponent {
@Input() data: FileFormControl = null;
@Input() form: FormGroup;
- @ViewChild('fileUploader')
+ @ViewChild('fileUploader', {static: false})
fileUploader:ElementRef ;
onDelete(event, data, form) {
diff --git a/vid-webpack-master/src/app/shared/components/formControls/component/input/input.formControl.component.ts b/vid-webpack-master/src/app/shared/components/formControls/component/input/input.formControl.component.ts
index 1e8c28104..7a7ab72d0 100644
--- a/vid-webpack-master/src/app/shared/components/formControls/component/input/input.formControl.component.ts
+++ b/vid-webpack-master/src/app/shared/components/formControls/component/input/input.formControl.component.ts
@@ -9,7 +9,7 @@ import {FormGroup} from "@angular/forms";
})
export class InputFormControlComponent{
- @ViewChild('customInput') element:ElementRef;
+ @ViewChild('customInput', {static: false}) element:ElementRef;
@Input() data: InputFormControl = null;
@Input() form: FormGroup;