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

Currency cell properties displays blank instead of '--'

SA-94589

Summary

Currency cell properties should display '--' if the value is blank. 


Error Messages

Not Applicable.


Steps to Reproduce

  1. Create a Currency type property
  2. Create a case with a blank value for Currency type property
  3. Preview the value of the Currency type property in the read-only mode


Root Cause



A defect in Pegasystems’ code or rules.


Resolution

Perform the following local-change:

Add the below code in the UserWorkForm:

<style>
/* To place -- if content is not there */
.flex > span >span[data-ctl="Text"]:empty:after,
.flex.content-item > .field-item > span > span[data-ctl="Text"]:empty:after,
.flex.content-item > span>span[data-ctl="Text"]:empty:after,
.content-inner > .field-item > span>span[data-ctl="Text"]:empty:after,
.flex.content-item > .field-item > span>span[data-ctl="Text"]:empty:after,
.flex.content-item.content-field.dataValueRead > span>span[data-ctl="Text"]:empty:after {
    content: '\2014\2014';
    color: #808080;
  }
  
/* To adjust alignment to left if content is not there */
.flex > span >span.rightJustifyStyle[data-ctl="Text"]:empty,
.flex.content-item > .field-item > span > span.rightJustifyStyle[data-ctl="Text"]:empty,
.flex.content-item > span>span.rightJustifyStyle[data-ctl="Text"]:empty{
  text-align:left;
}
</style>




 

Suggest Edit

Published January 20, 2020 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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
Contact us