store the image in a temporary location and save the filepath as a simple string on your livewire component. Then at the final step move the image to the correct location. Every so often delete old images left in the temporary folder.
Jul 3, 2023
5
Level 10
Serialize TempUploadedFile in Multi Step Form
I am trying to pass a Uploaded Image through to the last step of my multi step form. For the form I am using the Laravel-livewire-wizard. Maybe someone can help me how to properly serialize the uploaded file. The problem is described here but I dont understand the solution. https://github.com/spatie/laravel-livewire-wizard/discussions/61. Please someone can help? Otherwise is there a good tutorial for a multi step form with vue js?
Level 122
1 like
Please or to participate in this conversation.