liamseys's avatar

TemporaryUploadedFile Livewire Emit

Hello

I'm using Spatie's Laravel Livewire Wizard package to create a wizard to create a model. On the first step I want users to upload an image file using Filepond. On the right side of the screen they get a preview of the image which is stored in Livewire's tmp folder. When passing the property to the next step component I only get this:

[
    'disk' => 'public'
];

Livewire doesn't serialise the TemporaryUploadedFile object. Does anyone have a suggestion on how to fix this? I want it to work with going back and forth with the steps as well.

0 likes
1 reply
lara28580's avatar

I have the same problem you found a solution for that?

Please or to participate in this conversation.