Combine the save to pivot table and inline create #737
Replies: 1 comment
-
Hey @Tuoww , Unfortunately no, We do not plan on making those two work together at the moment. We see them as alternatives to each other. Hope it helps. |
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.
-
Hi,
I have 3 models:
,
and
I have a crudControllor for every single model. But I want to focus more on the Region model.
In my RegionCrudController I now have this in my createOperation:
But I want to add a inline_create on the weight relationship as well. I tried to add 'inline_create('true')' but this doesnt do anything.
If I remove the subfields thing I get the error: 'Route [weights-inline-create-save] not defined.'.
My question is: is it possible to get both the pivot thing and a inline create working?
My own guess is that I do something wrong with the belongsTo and so on.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions