[MGNLUI-2668] Default selected option in SelectFieldDefinition is not used Created: 10/Feb/14  Updated: 05/Dec/14  Resolved: 14/Jul/14

Status: Closed
Project: Magnolia UI
Component/s: dialogs
Affects Version/s: 5.2.1, 5.2.2
Fix Version/s: 5.2.7, 5.3.2

Type: Bug Priority: Neutral
Reporter: Frank Sommer Assignee: Eric Hechinger
Resolution: Fixed Votes: 1
Labels: support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-2871 Enhance the behavior of complex fields Closed
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)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Visible to:
Rainer Blumenthal

 Description   

If you configure a SelectFieldDefinition, the configured default option is not used. The configuration described in http://documentation.magnolia-cms.com/display/DOCS/Select doesn't work.

If you debug the SelectFieldFactory, you will see that the initialSelectedKey field is never queried.



 Comments   
Comment by Eric Hechinger [ 23/Jun/14 ]

This is working for 5.3.x except for multi select.

Comment by Eric Hechinger [ 14/Jul/14 ]

Add multiselect default value support. An option group field has to support one or more default values.

Generated at Mon Feb 12 08:58:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.