Action submits twice error
I'm currently trying to import products from a xlsx file by creating action that has a form with FileUpload to take the xlsx file.
In the action(function ($data)), I get the path to the file uploaded via $data, and then I use the laravel excel Excel::import to extract the data from the xlsx file. But somehow the process gets closed and the action runs again without any data - breaking the first process with the xlsx file causing the process not to be imported.
For me, it seems like there is a timeout on actions, but is there a way to override or increase the timeout?
1 Reply
I dont think you need to increase the timeout. Do you have any code examples? Sounds more like a missconfig inside the action or form. Do you use a reactive field?