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
Was this page helpful?