argos/dmp-frontend/src/app/form/dynamic-form-composite-field/dynamic-form-composite-fiel...

12 lines
743 B
HTML
Raw Normal View History

2017-12-06 17:45:54 +01:00
<div *ngIf="visibilityRulesService.isElementVisible(pathName,compositeField.id)" class="fieldset-component" [id]="compositeField.id" [formGroup]="form">
2017-12-06 11:35:50 +01:00
<h4 *ngIf="compositeField.title">{{compositeField.title}}</h4>
<div class="content-left-margin">
<h4 *ngIf="compositeField.description">{{compositeField.description}}</h4>
2017-12-06 12:39:49 +01:00
<h4 *ngIf="compositeField.extendedDescription" class="fieldset-extended-desc">
2017-12-06 11:35:50 +01:00
<i>{{compositeField.extendedDescription}}</i>
</h4>
<div *ngFor="let field of compositeField.fields; let i = index;">
<df-field [field]="field" [form]="form.get('fields').get(''+i)" [path]="path" [pathName]="pathName+'.fields.'+i"></df-field>
</div>
</div>
2017-12-06 11:35:50 +01:00
</div>