SpatieMediaLibraryFileUpload::make('x')->label(__("x"))->multiple()

SpatieMediaLibraryFileUpload::make('x')->label(__("x"))->multiple() ->collection('x')->acceptedFileTypes(['application/pdf']), has issue while use ->multiple() @Povilas K
11 Replies
LeandroFerreira
LeandroFerreira2mo ago
It is difficult to help you without any code or a clear context of the issue..
eng.m.sabah
eng.m.sabah2mo ago
using filament/spatie-laravel-media-library-plugin and its was working with uplload one file or multiple but now upload only one file while using multiple() not working @Leandro Ferreira
LeandroFerreira
LeandroFerreira2mo ago
what is the error when you are uploading the files?
eng.m.sabah
eng.m.sabah2mo ago
no error click on the input and select files and enter until this point its good but no happen or upload files i can recored video for you content code and output
LeandroFerreira
LeandroFerreira2mo ago
Are you using the panel builder or only the form builder?
eng.m.sabah
eng.m.sabah2mo ago
public static function form(Form $form): Form { return $form ->schema([ Section::make('Content And Media')->description('Description and Images and Files') ->schema([ SpatieMediaLibraryFileUpload::make('archipartner_catalogues')->label(__("Catalogues"))->multiple() ->collection('archipartner_catalogues')->acceptedFileTypes(['application/pdf']), only form
LeandroFerreira
LeandroFerreira2mo ago
but no happen or upload files Are you submitting the form?
eng.m.sabah
eng.m.sabah2mo ago
poth no happen and not uploaded also i tried submitting the form but the same output no files uploaded but if i remove ->multiple() working well with singel file
eng.m.sabah
eng.m.sabah2mo ago
yes this worked before with me its a live but i test it again, not working now Edited are you there @Leandro Ferreira
LeandroFerreira
LeandroFerreira2mo ago
weird.. medialibrary supports multiple(). Maybe you could provide a mini repo on github to reproduce this issue...
Want results from more Discord servers?
Add your server