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

Validation messages do not display in read-only mode fields

SA-79294

Summary



Validation messages do not display when the control is in the Read-Only mode despite checking the 'Show validation messages in read-only mode' checkbox in the control. However, the message is present in the Clipboard.


Error Messages



Not Applicable


Steps to Reproduce


 
  1. Configure a Tab layout and include a section which contains a control Save As from the out-of-the-box pxDisplayText control.


     
  2. Include this section in the harness in the Custom error section.
  3. Include a grid in the Tab Layout section and configure a Delete icon.
  4. Set the Validation message to that control on click of the Delete icon.


Root Cause



Property value was used in the Value dropdown which was rendered in the Read-Only mode. This was considered as a label and validation was not added for the label.


Resolution



Perform the following local-change:

Set the control Value to 'Display text of selected option'. This makes the control as a text input and the text input triggers this validation.

Suggest Edit

Published August 15, 2019 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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