Nested Relationship Forms #1328
Replies: 1 comment
-
Based on the knowledge sources, it appears that nesting relationship fields with subfields inside other relationship fields with subfields is not currently supported in Backpack. The documentation and GitHub issues show that Backpack supports using the From the Backpack documentation on relationship fields, we can see that you can use the The GitHub issues also discuss various aspects of the When you try to nest a relationship field with subfields inside another relationship field's subfields, you're encountering JavaScript errors because this particular structure isn't supported in the current implementation. For your specific case, you might need to consider alternative approaches:
If this feature is important for your use case, you might want to submit a feature request to the Backpack GitHub repository, as it could be a valuable addition for complex data structures like yours. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Fields|Manage related entries in the same form (create, update, delete) Part 1 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following table structure
An order consists of several orderParts and each orderPart has several OrderPosts
I would like to create a fully laid out relation within the same form using
relationship
with subfieldsI have tried something like this in my
OrderCrudController.php
:As soon as I add another
'type' => 'relationship'
with'subfields'
I get Javascript errors and it is not working.Can this be done or could it be done in the future maybe? :)
Beta Was this translation helpful? Give feedback.
All reactions