@pega/dx-component-builder-sdk
Version:
Utility for building custom UI components
16 lines (15 loc) • 622 B
HTML
<div *ngIf="instructions" class="psdk-default-form-instruction-text">
<div key="instructions" id="instruction-text" [innerHTML]="instructions"></div>
</div>
<div [className]="divClass$">
<div *ngFor="let kid of arChildren$" [ngClass]="{ 'grid-column': kid.getPConnect().getComponentName() === 'View' }">
<component-mapper
[name]="kid.getPConnect().getComponentName()"
[props]="{
pConn$: kid.getPConnect(),
formGroup$: formGroup$
}"
errorMsg="DefaultForm wants component not yet available: {{ kid.getPConnect().getComponentName() }}"
></component-mapper>
</div>
</div>