[MGNLUI-5909] Subfields of complex fields do not show description or validation label Created: 01/Jun/20  Updated: 13/Jan/21  Resolved: 30/Jun/20

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

Type: Bug Priority: Neutral
Reporter: Jesus Alonso Assignee: Chuong Doan Huy
Resolution: Fixed Votes: 0
Labels: 62-UI-1, maintenance
Remaining Estimate: 0d
Time Spent: 1d 7.3h
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-06-01 at 15.09.14.png    
Issue Links:
Relates
relates to MAGNOLIA-7826 Description not shown on text field Closed
causality
dependency
is depended upon by LIVECOPY-159 Fields under composite/switchable/mul... Closed
duplicate
is duplicated by MGNLUI-5588 Descriptions are not shown for 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:
Epic Link: UI framework implementation
Sprint: Maintenance 13
Story Points: 3

 Description   

Steps to reproduce

Edit a component with a required complex attribute (e.g. composite/switchable/multi).

Expected results

The validation label is shown when the field is empty.

Actual results

The validation label nor description of the component is shown when the field is empty.

Development notes

info.magnolia.ui.framework.layout.FormLayoutProducer#createLayout doesn't create same field component layout as

info.magnolia.ui.framework.layout.TabbedLayoutProducer#createLayout

Using this component:

form:
  properties:
    multi:
      i18n: true     
          $type: compositeField
          address:
            label: address
            i18n: true
            $type: compositeField
            itemProvider:
              $type: jcrChildNodeProvider
            properties:
              city:
                required: true
                label: city
                $type: textField
 

 


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