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.
0% found this useful