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

Word wrap in read-only text area



Word Wrap does not apply in a read-only text area, and words do not split.

Error Messages

Not Applicable.

Steps to Reproduce

1. Create a dynamic layout inside of a section and put a text area inside of it.
2. Set edit options to auto, read-only value to property value, and use a property with no value.
3. Set collapsible to Yes, default expanded, and then open the app and insert 3000 characters.

4. Observe that when the text area is then put into read-only mode, there is no word wrapping.

Root Cause

A defect in Pegasystems’ code or rules.


Perform the following local-change:

1) The TextArea must be given a new class name, say 'dataValueWrite.readOnlyContent', under "Cell read-only classes" field in the "Presentation tab" of its property panel.

2) Add the below style block in the userworkform or custom stylesheet of the application:

white-space: normal;

Published January 30, 2016 - 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