[MGNLUI-6713] DOC: Update class hierarchy for select fields Created: 21/May/21 Updated: 27/May/21 Resolved: 27/May/21 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.9 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Ashraf Khamis | Assignee: | Ashraf Khamis |
| Resolution: | Done | Votes: | 0 |
| Labels: | defaultValue, fields | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Epic Link: | Field default values | ||||||||
| Sprint: | UI FW 29 | ||||||||
| Story Points: | 2 | ||||||||
| Description |
|
The note at the top of https://docs.magnolia-cms.com/product-docs/Templating/Dialog-definition/Field-definition/List-of-fields/Select-field.html needs to be updated. Current implementationExtending AbstractSelectFieldDefinition directly:
Extending AbstractSelectFieldDefinition via AbstractMultiselectFieldDefinition:
AbstractMultiselectFieldDefinition extends AbstractSelectFieldDefinition and provides default values of the type Set<Object>. This allows ListSelectFieldDefinition and TwinColSelectFieldDefinition to store multiple default values as a set. Other pages to update:
|
| Comments |
| Comment by Ashraf Khamis [ 27/May/21 ] |
|
Updated the class hierarchy for select fields on the following pages:
Reviewed by Roman & Adam. |