Closed KonstantinDyulin closed 2 hours ago
This isn't really a Lunar question, it's more for Spaties Media Library. I would suggest seeking support there
https://spatie.be/docs/laravel-medialibrary/v11/introduction
This isn't really a Lunar question, it's more for Spaties Media Library. I would suggest seeking support there
https://spatie.be/docs/laravel-medialibrary/v11/introduction
No this is seem like a lunar question, because if i associate model with default Spaties HasMedia interface and InteractWithMedia trait, it works
Using Spatie's default interface for your own custom models should be fine.
Expected Behaviour:
Extend my own model to use media
Actual Behaviour:
When i try save some media for model that use a Lunar HasMedia trait i get an error:
Steps To Reproduce:
Install Livewire Starter Kit Add HasMedia Trait to User model Try to add media for that model