Support Article
OnChange events are triggered on clicking outside input field
SA-72130
Summary
The onChange events are not triggered until the user clicks outside or shifts the focus away from input field.
Error Messages
Not Applicable
Steps to Reproduce
- Configure an action event to trigger onChange of an input field
- Change the value of the input field
Root Cause
This behavior is as per the Pega product design.
Resolution
Here’s the explanation for the reported behavior: The onChange events for a text input do not generate until the user loses the focus. That is how the JavaScript onChange event works and how it is modelled.
Published February 7, 2019 - 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.