Upload field. Files are not included in request. #388
-
I use spatie laravel-medialibrary for update media. On edit action i need only url of files. When i try to save entry, files are not included in request. CRUD::modifyField(DocumentType::INVOICE->value, [
'value' => $document->getMedia('invoices')->first()?->getUrl(),
]); How can i render only file URL and add save a files in the request? |
Beta Was this translation helpful? Give feedback.
Answered by
jcastroa87
Feb 15, 2024
Replies: 2 comments
-
Hey @supercute I have amazing news for you (or anyone using spatie media library): It should be out during this/next week. 🤞 Cheers |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, here is finally the implementation you can check our docs Cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jcastroa87
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, here is finally the implementation you can check our docs
Cheers.