F
Filament2mo ago
Nicole

Spatie Media not available in the afterCreate lifecycle hook

I noticed that Spatie media isn't accessible in the afterCreate() function of CreateRecord. Is there another way to access it? I want to update the custom properties.
3 Replies
Nicole
NicoleOP2mo ago
When I click the edit icon, nothing happens. Also, will I be able to update the custom property per image? Any additional config to make this work?
Azad Furkan ŞAKAR
Can you share the code https://discord.com/channels/883083792112300104/883084832387760148/1367526249391456429 Yes you can edit custom properties for per media. You can see video here

Did you find this page helpful?