FilamentPHP package to show pdf documents with records saved in the database or show documents without a database in the form of your resource.
64
stars
11
forks
source link
[Bug]: Joaopaulolndev\FilamentPdfViewer\Forms\Components\PdfViewerField::getFileUrl(): Return value must be of type string, null returned #12
Open
beyerenrico opened 2 weeks ago
What happened?
If I edit a record and remove the file, the PDF Viewer still renders. If I then try to upload a new file I get the error
Joaopaulolndev\FilamentPdfViewer\Forms\Components\PdfViewerField::getFileUrl(): Return value must be of type string, null returned
How to reproduce the bug
Package Version
1.0.6
PHP Version
8.2.0
Laravel Version
11.30.0
Which operating systems does with happen with?
macOS
Notes
No response