Text Area Editable Settings for Size to Content
SummaryUser has configured a repeating grid with a text area and button column. As per the requirement, text area should be expandable and show whole text entered by the user on it, hence only have selected "Set to Content" option for the text area with Collapsible as - "Yes, Default Expandable".
When user enters large content in text area and on clicking on the button which opens up a modal dialog and on submit on the screen, the screen refreshes and displays the text area expandable but with only first line of contents but not complete contents even though it is expanded
Error MessagesNot applicable
Steps to Reproduce1. In UI Gallery, open Grid.
2. Modify the content so that Date cell has control as "Text area" and presentation tab has Editable and Wrap Text options selected.
3. Under Editable settings -> a. Configure Specify width -> Custom b. Width : 100 % c. Specify height: Size to content d. Minimum height: 10 px e. Collapsible: Yes, Default Expanded.
4. Include any other column cell to have a button on which configure onclick > Refresh-CurrentRow.
5. When large content is entered in the cell and clicked on the button, the cell height of the text area reduces.
Root CauseA defect in Pegasystems’ code or rules: After returning from modal window, the height of textArea is not calculated.
ResolutionPerform the following local-change: On the button click, configure a run script as the last action. In that run script invoke "pega.u.d.resizeHarnessActual".
Published October 20, 2016 - Updated November 8, 2016