2017-11-23 11:40:02 +01:00
|
|
|
import { CompositeField } from '../../models/CompositeField';
|
|
|
|
import { FormGroup } from '@angular/forms';
|
|
|
|
import { Section } from '../../entities/model/section';
|
2017-12-06 11:35:50 +01:00
|
|
|
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
|
2017-11-23 11:40:02 +01:00
|
|
|
@Component({
|
|
|
|
selector: 'df-composite-field',
|
|
|
|
templateUrl: './dynamic-form-composite-field.html',
|
2017-12-06 11:35:50 +01:00
|
|
|
styleUrls: [
|
|
|
|
'./dynamic-form-composite-field.css'
|
|
|
|
],
|
|
|
|
encapsulation: ViewEncapsulation.None,
|
2017-11-23 11:40:02 +01:00
|
|
|
})
|
|
|
|
export class DynamicFormCompositeFieldComponent implements OnInit{
|
|
|
|
|
|
|
|
@Input() compositeField: CompositeField
|
|
|
|
@Input() form: FormGroup;
|
|
|
|
@Input() pathName:string;
|
2017-12-05 17:56:21 +01:00
|
|
|
@Input() path:string;
|
2017-11-23 11:40:02 +01:00
|
|
|
|
|
|
|
constructor(){}
|
|
|
|
|
|
|
|
ngOnInit(){
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|