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

Textarea size shrinks and multiselect control does not display



On converting a section to PDF, the textarea size shrinks and the multiselect control does not display in the generated PDF.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a screenflow with three Assignments shapes.
  2. Configure the sections in Assignments with a textarea and a multiselect.
  3. In the final assignment, create a button.
  4. On click of the button, execute an activity which creates the PDF.

Root Cause

This behavior is as per Pega product design.
For a textarea , the size cannot be increased dynamically according to the content. In the UI, textarea is an editable content. Hence, scrollbars display to view the entire content. However, in a read-only PDF, textarea is not an editable control (unless editable PDF is created).
PDF generation occurs in the Non-template mode since it occurs on the server side. Hence, the multi-select control does not display in the PDF since it is a Template control. Template controls which do not support non-template mode are not rendered in the PDF. This is a limitation with PDF generation.


Perform the following local-change:

The textarea does not change dynamically in the generated PDF according to the content. It is static in the PDF. To increase the textarea size in the PDF, add the below code.

                       width : 650px; /* Increase/Decrease the width as per your need */
                        height: 300px; /* Increase/Decrease the height as per your need */

Note: Change in size of the textarea is reflected in both the UI and the PDF.
Multiselect is a template control and is not supported in the generated PDF since PDF generation occurs in the non-template mode. Instead of Multiselect controls, use other controls according to the requirement.

Published April 1, 2020 - Updated December 2, 2021

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