[MGNLUI-4318] SwitchableField should respect transformerClasses of fields Created: 06/Nov/17  Updated: 16/Feb/18  Resolved: 16/Feb/18

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

Type: Bug Priority: Neutral
Reporter: Matthias Müller Assignee: Unassigned
Resolution: Workaround exists Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png    
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:

 Description   

When using the SwitchableField any transformerClasses defined in the child fields seem to be ignored:



 Comments   
Comment by Mikaël Geljić [ 16/Feb/18 ]

Hi Matthias,

To achieve this behavior you may set the SwitchableField's transformerClass to the info.magnolia.ui.form.field.transformer.composite.DelegatingCompositeFieldTransformer, as hinted at the bottom of the Switchable field documentation.

I'll close this issue, if I may; feel free to reopen if I misunderstood your issue.

Cheers,
Mika

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