© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
10 replies
BEVER

Problems with SpatieMediaLibraryFileUpload on a modal action.

Hi everybody,
I'm trying to add a media uploader on a CreateAction, the usecase here is to add some files to a note being added to a resource. I'm using the following code ( see screenshot). Problem is that the media gets saved on the parent model, instead of my Note::class model. Does anybody know how this can be fixed?
Schermafbeelding_2023-12-15_om_10.19.46.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Modal on action
FilamentFFilament / ❓┊help
2y ago
Disabling Submit Action on Action With Custom Modal
FilamentFFilament / ❓┊help
3y ago
Modal On Bulk Action
FilamentFFilament / ❓┊help
3y ago
Widget with Modal Action
FilamentFFilament / ❓┊help
3w ago