Browse Source

Update extensible-form.component.html

pull/18962/head
Masum ULU 3 years ago
committed by GitHub
parent
commit
3b284e4bf6
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 25
      npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form.component.html

25
npm/ng-packs/packages/components/extensible/src/lib/components/extensible-form/extensible-form.component.html

@ -1,16 +1,23 @@
@if (form) { @if (form) {
@for (groupedProp of groupedPropList.items; track $index) { @for (groupedProp of groupedPropList.items; track $index) {
<ng-container *abpPropData="let data; fromList: groupedProp.formPropList; withRecord: record"> <ng-container *abpPropData="let data; fromList: groupedProp.formPropList; withRecord: record">
<div @if(groupedProp.group?.className) {
[ngClass]="groupedProp.group?.className ? groupedProp.group?.className : ''" <div [ngClass]="groupedProp.group?.className"
[attr.data-name]="groupedProp.group?.name ? groupedProp.group?.name : ''" [attr.data-name]="groupedProp.group?.name || groupedProp.group?.className"
>
<ng-container
[ngTemplateOutlet]="propListTemplate"
[ngTemplateOutletContext]="{ groupedProp: groupedProp, data: data }"
> >
</ng-container> <ng-container
</div> [ngTemplateOutlet]="propListTemplate"
[ngTemplateOutletContext]="{ groupedProp: groupedProp, data: data }"
>
</ng-container>
</div>
} @else {
<ng-container
[ngTemplateOutlet]="propListTemplate"
[ngTemplateOutletContext]="{ groupedProp: groupedProp, data: data }"
>
</ng-container>
}
</ng-container> </ng-container>
} }
} }

Loading…
Cancel
Save