Jamie Cee
File Upload within a custom page is null
So you just want to save the file?At present, yes. When I use the SpatieMediaLibraryFileUpload component (from spatie docs), my data from form->getState or getRawState is null, but if I use Filaments default FIleUpload, it returns string as normal etc. Im still trring to associate that file with the Spatie media mainly for file information etc, but just cant obtain the 'document'
15 replies
File Upload within a custom page is null
The main use is default, it's just trying to put it on a custom page, rather than a resource. So I've setup the form as normal, and im trying to use the spatie media library (https://filamentphp.com/plugins/filament-spatie-media-library#form-component). But the basic usage set out in the docs doesn't appear to be working.
Not adding anything extra currently
15 replies