[develop | FIXED]: Fix a bug with help text placement doesn't be shown in add help text.
This commit is contained in:
parent
ad17ffaf95
commit
9826e5d358
|
@ -34,7 +34,7 @@
|
|||
</div>
|
||||
<form *ngIf="!showLoading" [formGroup]="myForm">
|
||||
<div class="uk-grid uk-child-width-1-2">
|
||||
<div *ngIf="placementsOptions.length > 1 && myForm.get('placement').value" input [formInput]="myForm.get('placement')"
|
||||
<div *ngIf="placementsOptions.length > 1" input [formInput]="myForm.get('placement')"
|
||||
placeholder="Select placement" [options]="placementsOptions" type="select"></div>
|
||||
<div *ngIf="orderOptions.length > 1 " input [formInput]="myForm.get('order')" placeholder="Select order" [options]="orderOptions" type="select"></div>
|
||||
</div>
|
||||
|
|
|
@ -149,6 +149,9 @@ export class PageContentFormComponent implements OnInit {
|
|||
if (page.left) {
|
||||
this.placementsOptions.push({label: "left", value: "left"});
|
||||
}
|
||||
if (page.right) {
|
||||
this.placementsOptions.push({label: "right", value: "right"});
|
||||
}
|
||||
this.orderOptions = [];
|
||||
for (let i = 1; i < countContents + 1; i++) {
|
||||
this.orderOptions.push({label: "" + i, value: i});
|
||||
|
|
Loading…
Reference in New Issue