OnChange on a DateTime control does not work
OnChange on a DateTime control does not work when the control is in the list view's filter section.
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.
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.
Published September 14, 2016 - 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.