sven
How can I use Spatie Media Library with fields for custom properties?
I guess you could use the Repeater, and set the additional fields on Live. Then re-fill the Video Url and title field again on mount from the saved custom properties.
But I'd be curious if there's a more elegant way to do it
4 replies
How can I use Spatie Media Library with fields for custom properties?
I would also be interested to know how this could work. In the docs it gives this example:
->customProperties(fn (Get $get): array => [
'gallery_id' => $get('gallery_id'),
])
4 replies