BelongsToMany Relationship possible? #164
Unanswered
SebastianUhlig
asked this question in
Q&A
Replies: 1 comment
-
The CuratorPicker, as of right now doesn't support multiple images. You could use a Repeater with CuratorPicker in its schema to achieve what you are trying to do. |
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
-
Didn't find anything in any issues or QAs:
I only read that multiple images are only possible via the builder function. But is there a way to assign multiple images to a model via a belongsToMany relationship?
I tried to create a BelongsToMany relation in the model and used the relationship name as name in the CuratorPicker form field, but it doesn't seem to work. Has it changed?
Form Field
CuratorPicker::make('images')->label(__('Select'))
Model
Table
(sorry if I duplicate the topic. Haven't been able to find anything on this specific topic since v2)
Beta Was this translation helpful? Give feedback.
All reactions