[MGNLUI-5869] Converted SwitchableField doesn't set i18n correctly for select-option field Created: 15/May/20  Updated: 03/Jun/20  Resolved: 02/Jun/20

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

Type: Bug Priority: Neutral
Reporter: Adam Siska Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1h 58m
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-5790 Write unit tests to avoid legacy data... 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
Epic Link: UI framework implementation
Sprint: UI FW 2, UI FW 3
Story Points: 1

 Description   

Steps to reproduce a bug:
Use i18n in switchable field definition and observe that field after conversion to new UI framework doesn't work for non-default language:

        - name: message
          fieldType: switchable
          label: Message
          i18n: true
          options:
            - name: plainText
              label: Plain
              selected: true
              value: plainText
            - name: richText
              label: Rich
              value: richText
          fields:
            - name: plainText
              fieldType: text 
              label: Plain text message
              rows: 5
            - name: richText
              fieldType: richText
              label: Rich text message
              height: 200

https://documentation.magnolia-cms.com/display/DOCS61/Switchable+field

 

 


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