mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#967 initial support for dynamic components (wip)
- form rendering service to control field-component type mappings - special <form-field> component with dynamic content creation based on mapped types - migrated <text> component to dynamic creation
This commit is contained in:
committed by
Mario Romano
parent
c9e3723613
commit
4c95ed1f71
@@ -20,7 +20,7 @@
|
||||
<number-widget [field]="field" (fieldChanged)="fieldChanged($event);"></number-widget>
|
||||
</div>
|
||||
<div *ngSwitchCase="'text'">
|
||||
<text-widget [field]="field" (fieldChanged)="fieldChanged($event);"></text-widget>
|
||||
<form-field [field]="field"></form-field>
|
||||
</div>
|
||||
<div *ngSwitchCase="'multi-line-text'">
|
||||
<multiline-text-widget [field]="field" (fieldChanged)="fieldChanged($event);"></multiline-text-widget>
|
||||
|
Reference in New Issue
Block a user