PDF Preview

When I upload an image as an upload, save the model, and then view the image preview, everything works fine. However, when I upload a PDF, I see the preview initially, but after saving, I no longer see it, and I encounter this error (image). The document/image is uploaded to a subfolder and correctly saved in the database. this is the field code

Forms\Components\FileUpload::make('documents')
->directory('customer_documents'),

Forms\Components\FileUpload::make('documents')
->directory('customer_documents'),
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server