21 lines
487 B
TypeScript
21 lines
487 B
TypeScript
import { FormGroup } from '@angular/forms';
|
|
import { Field } from '../../../models/Field';
|
|
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-df-dropdown',
|
|
templateUrl: './dynamic-field-dropdown.html',
|
|
styleUrls: [
|
|
'./dynamic-field-dropdown.css'
|
|
],
|
|
encapsulation: ViewEncapsulation.None
|
|
})
|
|
export class DynamicFieldDropdownComponent implements OnInit {
|
|
@Input() field: Field;
|
|
@Input() form: FormGroup;
|
|
|
|
ngOnInit() {
|
|
|
|
}
|
|
}
|