Create repeater field with morph to many relationship #846
Unanswered
devmansurov
asked this question in
Q&A
Replies: 1 comment
-
@devmansurov why are you storing your images in a separate table? Why not use file attachments in that case instead? https://wintercms.com/docs/database/attachments Alternatively, you might be looking for the Media library metadata support? #316 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my model defined
images
field asjsonable
:I have like this field in my model
fields.yml
file:The example above works great. But now I have changed the structure of the database by adding a new table for images to separate them.
Tables:
Then inside my model defined relation for images:
In this case how I can create correctly repeater field with form behaviors when images has morph to many relationship?
Beta Was this translation helpful? Give feedback.
All reactions