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