Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Labels displayed reversed when placed in header of a layout

SA-31737

Summary



In the label field of header of a dynamic layout, when we place a label-value pair, the order gets reversed while displaying on portal.

Error Messages



Not Applicable


Steps to Reproduce



1. Include a dynamic layout.
2. Add a label value pair next to the header title of the layout.

 


 

Root Cause

From code perspective of dynamic layout, it seems as expected because we are using float to adjust positioning, and float behaves this way.  

This behavior cannot be fix in hotfix as it needs changes to lot of markup, css and also regressive testing for all layouts + headers is required, as it might affect other uses cases too. 
 

Resolution



Perform the following local-change step: 

1. In the dynamic layout, give the labels intentionally in the reverse order so that at runtime it displays in the correct order.
 (or)
2.Instead of giving labels directly, include one section that contains all the labels.
 

BUG-279316 has been raised, this will be fixed in the future Pega releases.
 

 

Published January 2, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice