[MGNLUI-5553] Allow to set element type for multi-select fields Created: 10/Dec/19  Updated: 10/Mar/21  Resolved: 10/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Milan Divilek Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-5471 Allow select fields non-string values... 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)
Date of First Response:
Epic Link: UI framework: forms, dialogs, content editing

 Description   

info.magnolia.ui.field.FieldDefinition#getType is model type of the field and by default it's set to java.util.Set for multi-select fields. Would be handy to allow also configure the type of element in the set. So for example info.magnolia.ui.form.Option#value can be converted to different type than String.



 Comments   
Comment by Roman Kovařík [ 10/Mar/21 ]

Reopen if needed.

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