[MGNLUI-5851] Customizable form field layout components Created: 04/May/20 Updated: 22/Jun/20 Resolved: 12/Jun/20 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3.35d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||
| Epic Link: | Migrate apps to new UI framework | ||||||||||||||||||||
| Sprint: | UI FW 2, UI FW 3, UI FW 4 | ||||||||||||||||||||
| Story Points: | 5 | ||||||||||||||||||||
| Description |
Expected resultsI can add custom components to all forms fields. WorkaroundI can achieve this only by providing custom factory implementations for all fields. |
| Comments |
| Comment by Roman Kovařík [ 12/Jun/20 ] |
|
From original description: Development notesPoC implements type mapping for the field layout which can be redefined like this: <components> <id>app-pages-app-detail</id> <type-mapping> <type>info.magnolia.ui.vaadin.form.field.FieldLayout</type> <implementation>info.magnolia.livecopy.app.ui.vaadin.form.field.LiveCopyFieldLayout</implementation> </type-mapping> </components> Disadvantage of this approach is inability to decorate the field layout form multiple submodules. At least the custom implementation can be scope to an app/subapp. |