I'm running into an issue with some automated tests where the React validation never activates after changing the contents of a field. It appears that the blur event is not firing after leaving the field.
The steps I am taking are as follows:
Save
button to test the validation.What happens is that the validation never processes and the form is submitted with a blank value. I have tried executing some Javascript code that uses jQuery to call the onBlur method of the field before clicking Save
, and while that is definitely executing, the validation still does not process.
Any thoughts on what might be the issue?
Thanks