[MGNLUI-6467] Old pages app: Labels from composite/multivalue inner fields are not shown Created: 16/Dec/20  Updated: 12/May/21  Resolved: 15/Feb/21

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

Type: Bug Priority: Neutral
Reporter: Jonathan Ayala Assignee: Šimon Demočko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 0.35h
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-12-16 at 10.14.31.png     PNG File Screenshot 2020-12-16 at 10.21.47.png     File custom-dialog.yaml    
Issue Links:
Cloners
is cloned by MGNLUI-6694 Old pages app: Labels from multivalue... Closed
Problem/Incident
Relates
relates to MGNLUI-6128 Old pages app: Description in subfiel... Closed
causality
relation
is related to MGNLPN-496 Make sure the persona photo field doe... Closed
is related to MGNLUI-5871 Missing labels when using horizonlayo... 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: Dialog UX improvements
Sprint: UI FW 21
Story Points: 5

 Description   

Steps to reproduce

  1.  Use the attached dialog for a component
  2.  Open pages app (note it is not pages-app) and edit/create a page
  3. Add the component from step 1
    custom-dialog.yaml
     

    Expected results

Dialog is correctly shown with labels for all its fields

Actual results

No labels are shown for the inner fields 

Workaround

Migrate dialog to 6UI or using pages-app

Development notes

This happens because a css class,force-hide-field-captions, is assigned to v-caption-on-top elements
In new pages-app labels are correctly shown:

Probably some rule change happened in 6.2 affecting the old, since rulesets are shared partially. 

May be related: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/commits/2ec30fbc56ff68db95d9d55a4be7ea0f9e7a1ec6#magnolia-ui-framework/src/main/java/info/magnolia/ui/framework/layout/field/FieldLayoutComponent.java

 


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