Support Article

Unable to wrap read-only text area

SA-37781

Summary



The user is unable to wrap read-only text area, if there is a large number of characters. Only few character are visible.

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



After upgrade from prpc 6.1 sp2 to pega 7.2 version text area unable to wrap text when readonly, due to new UI changes introduced in pega 7 version.

Resolution



Perform the following local-change in userworkform:
<style>
div.field-item.dataValueRead
{
word-break: break-word;
}

Published May 10, 2017 - Updated May 11, 2017


100% found this useful

Have a question? Get answers now.

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