Replies: 1 comment
-
|
I kinda solved this by using several relationship managers, one for each component group, but this is a lot more cumbersome for the end user since they have to attach and detach components rather than just checking them in a list. So I'm still wondering if there's a way to achieve the same result with checkbox list(s). |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Package
Panel builder
Package Version
v3.2.6
How can we help you?
I have a many-to-many relationship between
TemplateandComponentand I want to allow users to add/remove components in the template edit page.I have no problem doing this if I list all components, but I want to separate them into groups like this:
My TemplateResource class contains these sections:
The problem I'm having with this is that only changes in the second section get saved. The first section is ignored.
My
Templatemodel hascomponentsdefined as:And my
Componentmodel hastemplatesdefined as:Is there a way to save all changes across both sections?
Or is there better way to achieve grouping of checkboxlists?
Beta Was this translation helpful? Give feedback.
All reactions