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