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

Error does not display on clicking outside the text input cell

SA-46160

Summary

Error message does not display in a text input cell on clicking outside the cell without changing the value. However, on changing the cell value in the UI, the error message is displays correctly.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Add a text input cell to a section for a property
  2. Configure an EditValidate rule in the property
  3. Configure a PostValue action for the Change event
  4. Launch the section and trigger the Validation rule on change of value
  5. Click the text input cell and click outside the cell without changing the value. Error doe snot display


Root Cause



A defect in Pegasystems’ code or rules. Min-length is set in the TextInput control. So the text element has both the minChars validation (onBlur) and the EditValidate rule validation (onChange). Whenever the text input is focused, minChars validation is triggered, and if the currentValue length exceeds the minChars configured, then all the errors present at the Property level are cleared instead of only clearing the error associated with minChars.


Resolution

Perform the following local-change:

Include the minChars validation in the EditValidate rule itself.


​​​​​​​

Published April 12, 2018 - Updated October 8, 2020

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