[MGNLUI-6391] JcrNodeToPropertyValueConverter for creating lists of values Created: 05/Nov/20  Updated: 05/Mar/21  Resolved: 05/Mar/21

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

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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:

 Description   

The previous UI 5 select field allowed for a valueProperty configuration.

Reads option values from a different property. Set to the name of your custom value node.

We need a similar way to do the same thing in the new UI 6 select field.

I think a converter class similar to what we have in this package info.magnolia.ui.editor.converter would be a good approach.



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

Should be possible via:

$type: comboBox
datasource:
  $type: jcrDatasource
  describeByProperty: customProperty
  workspace: website
Generated at Mon Feb 12 09:35:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.