Support Article
Validation messages not showing on readonly fields within a grid
SA-78734
Summary
A property-set-message is used to validate a read-only field that is placed within a grid. After a failed validation, the message does not display in the grid row, and displays at the harness level Instead.
Error Messages
Not Applicable
Steps to Reproduce
- Validate using a property-set-message on a property in a grid row.
- Enable 'Show validation messages in read-only mode'.
- Fail the validation.
Root Cause
Error messages on a control are handled differently based on the placement of the control.
For example, if the control is placed outside the grid, the error messages are displayed below the control in the configuration. However, if the same control is placed inside the grid's cell, only an error icon displays on the grid cell.
The "Show validation messages in read-only mode" configuration is not supported within a grid context.
Resolution
An enhancement request, FDBK-60121, is created for consideration by Pega Product Management.
Published May 7, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.