[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:
documentation
documents MGNLUI-6375 Remove generic type of default value ... Closed
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 implementation

Extending AbstractSelectFieldDefinition directly:

  • info.magnolia.ui.field.ComboBoxFieldDefinition

Extending AbstractSelectFieldDefinition via AbstractMultiselectFieldDefinition:

  • info.magnolia.ui.field.ListSelectFieldDefinition
  • info.magnolia.ui.field.TwinColSelectFieldDefinition

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.

Generated at Mon Feb 12 09:39:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.