LH
LH
FFilament
Created by LH on 5/24/2024 in #❓┊help
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?
3 replies