argos/dmp-frontend/src/app/form/dynamic-fields/dynamic-field-dropdown/dynamic-field-dropdown.ts

21 lines
558 B
TypeScript
Raw Normal View History

2017-11-27 14:40:16 +01:00
import { FormGroup } from '@angular/forms';
import { Field } from '../../../models/Field';
2017-12-06 12:39:49 +01:00
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
2017-11-27 14:40:16 +01:00
import { FieldBase } from '../field-base';
@Component({
selector: 'df-dropdown',
2017-12-06 12:39:49 +01:00
templateUrl: './dynamic-field-dropdown.html',
styleUrls: [
'./dynamic-field-dropdown.css'
],
encapsulation: ViewEncapsulation.None
2017-11-27 14:40:16 +01:00
})
2017-12-06 12:39:49 +01:00
export class DynamicFieldDropdownComponent implements OnInit {
2017-11-27 14:40:16 +01:00
@Input() field: Field;
@Input() form: FormGroup;
2017-12-06 12:39:49 +01:00
ngOnInit() {
2017-11-27 14:40:16 +01:00
}
}