Error messages on a property lost on focus
Error messages on a property lost on focus with Pega 7.1.9.
Steps to Reproduce
1. Include a client side validation on a input field property. The property should have a Rule-Declare-Expression (RDE) defined on it.
2. Enter a value which fails the validation and move the focus to the next field.
3. Focus on the field again. Observe as soon as we focus on the field the error message is lost.
When a property is involved in a RDE it will have a implicit validation "calculateexpression" added on its uielement.
But this validation is terminated for onclick events on the element.
But this termination happens only when there is atleast one target property of RDEs is present in the UI. Otherwise the validation messages are removed.
Type: Local-change, Explanation
Local-change: To Include the target property used in RDE in the section as hidden field.
Explanation: Include the target property of the RDE in UI. Target properties of the RDEs are anyway rendered in readonly. If it is not intended to be shown it can be hidden in UI with css visibility:none.
0% found this useful