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';
|
2018-05-28 11:50:42 +02:00
|
|
|
|
2017-11-27 14:40:16 +01:00
|
|
|
|
|
|
|
@Component({
|
2018-05-28 11:50:42 +02:00
|
|
|
selector: 'df-radiobox',
|
|
|
|
templateUrl: './dynamic-field-radiobox.component.html',
|
|
|
|
styleUrls: [
|
|
|
|
'./dynamic-field-radiobox.component.css'
|
|
|
|
],
|
|
|
|
encapsulation: ViewEncapsulation.None
|
2017-11-27 14:40:16 +01:00
|
|
|
})
|
2017-12-06 12:39:49 +01:00
|
|
|
export class DynamicFieldRadioBoxComponent implements OnInit {
|
2018-05-28 11:50:42 +02:00
|
|
|
@Input() field: Field;
|
|
|
|
@Input() form: FormGroup;
|
2017-11-27 14:40:16 +01:00
|
|
|
|
2018-05-28 11:50:42 +02:00
|
|
|
ngOnInit() {
|
2017-11-27 14:40:16 +01:00
|
|
|
|
2018-05-28 11:50:42 +02:00
|
|
|
}
|
|
|
|
}
|