Browse Source
Update extensible-form.component.html
pull/18962/head
Masum ULU
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
16 additions and
9 deletions
-
npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form.component.html
|
|
|
@ -1,16 +1,23 @@ |
|
|
|
@if (form) { |
|
|
|
@for (groupedProp of groupedPropList.items; track $index) { |
|
|
|
<ng-container *abpPropData="let data; fromList: groupedProp.formPropList; withRecord: record"> |
|
|
|
<div |
|
|
|
[ngClass]="groupedProp.group?.className ? groupedProp.group?.className : ''" |
|
|
|
[attr.data-name]="groupedProp.group?.name ? groupedProp.group?.name : ''" |
|
|
|
> |
|
|
|
<ng-container |
|
|
|
[ngTemplateOutlet]="propListTemplate" |
|
|
|
[ngTemplateOutletContext]="{ groupedProp: groupedProp, data: data }" |
|
|
|
@if(groupedProp.group?.className) { |
|
|
|
<div [ngClass]="groupedProp.group?.className" |
|
|
|
[attr.data-name]="groupedProp.group?.name || groupedProp.group?.className" |
|
|
|
> |
|
|
|
</ng-container> |
|
|
|
</div> |
|
|
|
<ng-container |
|
|
|
[ngTemplateOutlet]="propListTemplate" |
|
|
|
[ngTemplateOutletContext]="{ groupedProp: groupedProp, data: data }" |
|
|
|
> |
|
|
|
</ng-container> |
|
|
|
</div> |
|
|
|
} @else { |
|
|
|
<ng-container |
|
|
|
[ngTemplateOutlet]="propListTemplate" |
|
|
|
[ngTemplateOutletContext]="{ groupedProp: groupedProp, data: data }" |
|
|
|
> |
|
|
|
</ng-container> |
|
|
|
} |
|
|
|
</ng-container> |
|
|
|
} |
|
|
|
} |
|
|
|
|