Closed manfield closed 2 months ago
Hey @manfield
We are aware of the issue. A major refactoring of the Backpack Uploader is being done to cover this and other uploader-related problems. It's a BIG PR, which may take some time. Sorry for the inconvenience.
You can subscribe to our newsletter for the Backpack Progress report and other updates.
Bug report
What I did
While this code works properly on a CRUD form with a relation to a submodel:
https://github.com/user-attachments/assets/8a2e6295-a185-4f1b-a1a9-5bf940a41188
What happens with Spatie/MediaLibary
using Spatie/MediaLibrary, like this - for example
brings to the following behaviour:
https://github.com/user-attachments/assets/8795f0e5-437e-41b3-86e4-61d6b31bb923
What I expected to happen
Images are processed through the MediaLibrary as usually happens with an "image" type field
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is: