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

Issue with textarea read-only option's icon

SA-12777

Summary



On setting a textarea control as read-only, the data appears as plain text without a expand or collapse icon. On setting the same textarea control as editable, the icon can be configured using "When" condition in Disable option.

This occurs after upgrading to Pega 7.1.6 and was working fine in PRPC 6.x- where the expand or collapse icon was configurable even when textarea was set as read-only. 

There are border issues observed, on changing the textarea control from read-only to editable. 


Error Messages



Not Applicable

Steps to Reproduce

  1.  Create a section and include a textarea control. 
  2.  Make the textarea control as read-only and enter a long data. 
  3.  Save and run the flow. 


Root Cause



The root cause of this problem is the design of the textarea in PRPC 7.x, which has changed the UI appearance of the control.

Resolution

The issue is resolved using the following local-change :

1. Create a section. 
2. In this, include another section, which should include:
 
Inline style class:TextAreaReadOnlyLayout;
Custom CSS Class TextAreaReadOnlyLayout


3. Add the below code in UserWorkForm 

<style>

.TextAreaReadOnlyLayout span.TextAreaContainer span.textAreaInputCollapsed,
.TextAreaReadOnlyLayout span.TextAreaContainer span.textAreaInputCollapsed {
border: 0px !important;
}
</style>

Published August 12, 2015 - 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