import { FormGroup } from '@angular/forms'; import { Field } from '../../../models/Field'; import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core'; @Component({ selector: 'df-radiobox', templateUrl: './dynamic-field-radiobox.component.html', styleUrls: [ './dynamic-field-radiobox.component.css' ], encapsulation: ViewEncapsulation.None }) export class DynamicFieldRadioBoxComponent implements OnInit { @Input() field: Field; @Input() form: FormGroup; ngOnInit() { } }