Open arcteixeira opened 6 years ago
Same issue here, the first call does never work.
If you look at the code, it binds to an element object and then only runs the validator once the input is blurred. This was posing a problem for me, as well, so I created my own repository inspired by this one that will let you call the method whenever you like and receive a callback response via AJAX. You can view it here.
Hi,
The first call I make to mailgun_validator doesn't really happen. I've checked the network log and there is no validation requests. I then focus on the element that calls the validation, blur and the call is correctly made.
This is my code:
I have logs in every method and I see that after the first call neither success_callback nor validation_error are called. Any ideas?