temporary upload file

When selecting the file for uploading, while it's loading for a preview, the file is stored in the livewire-tmp folder.
If the form is successfully completed (record created or updated), the file is handled properly.

BUT, if I for example start to create a new record, or edit existing record, and change the uploaded file (select new), the new file is stored in livewire-tmp, and then if I cancel the action and go back to the homescreen or whatever, the file remains in the livewire-tmp folder. This is an issue.

How do I go about handling this?
Was this page helpful?