1 import {Component, ElementRef, Input, ViewChild} from "@angular/core";
2 import {InputFormControl} from "../../../../models/formControlModels/inputFormControl.model";
3 import {FormGroup} from "@angular/forms";
6 selector : 'form-control-input',
7 templateUrl : './input.formControl.component.html',
8 styleUrls : ['./input.formControl.component.scss']
11 export class InputFormControlComponent{
12 @ViewChild('customInput') element:ElementRef;
13 @Input() data: InputFormControl = null;
14 @Input() form: FormGroup;