Closed garbinmarcelo closed 4 years ago
Today I discovered something, when I have the validation code of the commented form the problem of sending 2 times is not presented. So I think it has something to do with the https://github.com/proengsoft/laravel-jsvalidation package. I'm going to take another look, this is already a step forward.
I will close this issue, as it seems to me that this is an error with the other package (laravel-jsvalidation).
https://github.com/proengsoft/laravel-jsvalidation/issues/406
Hi, I've been having a problem for a while and I couldn't figure out what it might be.
I'm using Laravel 6 with webpack, I have a script with ajaxForm that I use to send the form with a file and sometimes without. It turns out that when I use the form to register it runs normally, and when I do an update it ends up being sent 2 times.
If I place the script directly on the blade without using require ('script-name'); via webpack, it works normally, without repetition of sending.
Any idea what it might be or what I can do to find out what's causing it?
Edit.:
my code: