Discussion
3
Replies
666
Views
Posted: August 17, 2015
Last activity: April 6, 2018
Closed
Text area control issue post upgrade to Pega7
We are having a blocker issue with Text Area control. Wrap Test check box is not available in one application. For the same control in other app Wrap Test check box is available.
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
The root cause of this issue is the usage of free form layout. Please convert all the free form layouts to Dynamic Layout.
The text area control present inside the Dynamic layout will not have Wrap Text option, since this control inside Dynamic Layout will be auto wrapped up by default.
The below solution is not recommended.
à Create a new style for text area control in skin. (say textAreaNew)
à Apply the new format to the text areas where we want word wrap.
à add below css in the custom css file.
.textAreaNew {
white-space: pre-wrap;
word-wrap: break-word;
}