SpatieMediaLibraryFileUpload is ignoring relationship

Hi, I have a Section inside my form that has a defined ->relationship('profile'). Inside this section I have an Action modal to upload a photo to the UserProfile model. My problem is that SpatieMediaLibraryFileUpload seems to ignore the relationship and always tries to save the file to the parent User model which then fails. How can I fix that?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?