@iamlux20 it will help a lot if you share some code on what you are trying to do.
Jul 16, 2024
9
Level 2
Preventing "Unable to retrieve the file_size for file at location livewire-tmp/imagename.jpg"
Hello, this has been a problem of mine for the past 3 months. If some field in a validation test case fails, the upload file does this even though the preview exists. Is there a way to prevent this?
I am using public file storage and storage:link is existing. I have also tried unsetting/resetting the input file but still fails
FileUpload::make('supporting_documents')
->label('Supporting Documents')
->multiple()
->preserveFilenames()
->required()
->openable()
->downloadable()
->moveFiles()
->previewable(true)
->maxSize(10000)
->helperText('Accepts .pdf or image files up to 10MB only.')
->acceptedFileTypes(['application/pdf', 'image/*'])
Please or to participate in this conversation.