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 modal dialog

SA-99096

Summary

While performing client-side validations or adding embedded page to a list on click of a button or link, when the modal dialog is open, the values are posted before the submission. However, the value is still present on the Clipboard on clicking Cancel or closing it. The remaining values which pass the validations also remain on the Clipboard after the user clicks the Close icon or the Cancel button. However, the original values must be restored after closing or clicking Cancel.


Error Messages

Not Applicable


Steps to Reproduce

  1. Create an on-click event on a button on the screen
  2. Open local action in modal dialog
  3. Configure an input field inside modal dialog such that the section refreshes on change of the field
  4. Discard the modal dialog by clicking the Close icon (X). The value entered in input field is not discarded, instead, it is saved on the Clipboard


Root Cause



Temporary page is not used in modal dialog.

Resolution



Perform the following local-change: 
Design using temporary pages whose values are copied to main properties after submitting modal dialog.

 

 

Published April 10, 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