Skip to content
Discussion options

You must be logged in to vote

Hey @tatvn

You can't use the upload_multiple field for a 1-n relationship. It stores the values as a JSON array in the database column.

If the relationship is important:

You can use https://backpackforlaravel.com/docs/6.x/crud-uploaders#uploaders-for-spatie-medialibrary

👆This associates all sorts of files with Eloquent models

OR

You can use relationship subfields(title, upload), try these steps and let me know if they help!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pxpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants