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

Two dashes '--' display for a read-only field with no value

SA-49867

Summary



Two dashes '--' display for a field which has Presentation configuration field set to read-only.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Configure a text input field
  2. Set the Presentation as read-only

Root Cause



This is as per Pega product design when a field is set with read-only Presentation and the corresponding property has no value at runtime. The below out-of-the-box style causes this:

.flex > span:empty:after, .flex.content-item > .field-item > span:empty:after, .flex.content-item > span:empty:after {
content: '\2014\2014';
color: #808080;



Resolution

Perform the following local-change:

Set the content property to blank through the below style:

.flex > span:empty:after, .flex.content-item > .field-item > span:empty:after, .flex.content-item > span:empty:after {
content: '';
}




Published March 8, 2018 - 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?

Want to help us improve this content?

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