Support Article
OnChange on a DateTime control does not work
SA-27717
Summary
OnChange on a DateTime control does not work when the control is in the list view's filter section.
Error Messages
Not Applicable
Steps to Reproduce
- Create a list view.
- Include a custom filter section with a DateTime control.
- Add OnChange event action on the DateTime control. The OnChange actions are not called.
Root Cause
A defect in Pegasystems’ code or rules:
The OnChange event is fired in fireClientEvents API using pega.control.eventController.fireEventHandler(srcElement, "change");
But, this step is placed in an If block, which becomes true only when bClientValidation is set as True. In the case of list view, bClientValidation is undefined and the onChange event is not fired.
Resolution
Apply HFix-29353.
Published September 14, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.