F
Filament10mo ago
slow

SPATIE MEDIALIBRARY PDF FILE UPLOAD

:fi: Hi to all the filament dev. I just want to know on how I can create a spatiemedia file upload for pdf file upload only. And how will set this up the storage. I'm still a beginner so bare with me. Thank you so much.
2 Replies
Tieme
Tieme10mo ago
What whas wrong with the first question? https://discord.com/channels/883083792112300104/1206774571857092669 But you need to take a look at https://filamentphp.com/docs/3.x/forms/fields/file-upload#file-type-validation and yes this is not the SpatieMediaLibraryFileUpload but can be used as stated here https://filamentphp.com/plugins/filament-spatie-media-library#form-component The media library file upload supports all the customization options of the original file upload component. For file storage what do you want to know?
slow
slowOP10mo ago
It works but after uploading the file, pdf file is not available to view. What should I do to make it viewable?
Want results from more Discord servers?
Add your server