no message

This commit is contained in:
Diamantis Tziotzios 2017-12-11 10:40:11 +02:00
parent 38241fe955
commit 3acba4ceb6
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<div *ngIf="visibilityRulesService.isElementVisible(pathName,group.id)" class="group-component" [id]="group.id" [formGroup]="form">
<div *ngIf="visibilityRulesService.isElementVisible(pathName,group.id)" class="group-component" [id]="group.id" [formGroup]="form">
<!-- <h4>{{path + ' ' + group.title}}</h4> -->
<div class="content-left-margin">
<!-- <h5 *ngIf="group.description">{{group.description}}</h5>
@ -6,8 +6,7 @@
<i>{{group.extendedDescription}}</i>
</h5> -->
<div *ngFor="let compositeField of group.compositeFields; let i = index;">
<df-composite-field [compositeField]="compositeField" [form]="form.get('compositeFields').get(''+i)" [path]="path"
[pathName]="pathName+'.compositeFields.'+i"></df-composite-field>
<df-composite-field [compositeField]="compositeField" [form]="form.get('compositeFields').get(''+i)" [path]="path" [pathName]="pathName+'.compositeFields.'+i"></df-composite-field>
</div>
</div>
</div>

View File

@ -9,7 +9,7 @@
<button type="button" class="btn btn-primary" (click)="submit();">Save and Finalize</button>
<progress-bar class="ui-g" *ngIf="progressbar" [formGroup]=form></progress-bar>
<div class="ui-g-12">
<p-steps [model]="stepperItems" [activeIndex]="this.paginationService.getCurrentIndex()" (activeIndex)="this.paginationService.setCurrentIndex($event)"
<p-steps [model]="stepperItems" [activeIndex]="this.currentPage" (activeIndex)="this.paginationService.setCurrentIndex($event)"
[readonly]="false"></p-steps>
</div>
<div class="ui-g-12">
@ -20,7 +20,7 @@
<form *ngIf="form" novalidate [formGroup]="form" (ngSubmit)="onSubmit()">
<div *ngFor="let section of dataModel.sections; let i = index;">
<df-section *ngIf='this.paginationService.isElementVisible(section.page)' [section]="section" [form]="form.get('sections').get(''+i)"
<df-section *ngIf='this.shouldDisplaySection(section)' [section]="section" [form]="form.get('sections').get(''+i)"
[path]="i+1" [pathName]="'sections.'+i"></df-section>
</div>
</form>