Nested CRUD of hasMany relationship on edit page #819
Replies: 1 comment
-
Hey @delfinn55 A functional nested CRUD with data tables, search, pagination, and filters is not possible right now. For now, you may try https://github.com/izica/relations-widgets-for-backpack. This lists related items as a widget. Let us know if this 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.
-
Hello! I have two related models: Customer and Bid ($customer->bids(): hasMany).
Need to display a table with his bids on the user’s edit page. I used the package https://github.com/onkbear/backpack-nested-crud for this and set standard list view for nested CRUD:
But it loaded full theme layout [
/admin/customer/{id}/edit#bids
route]:What is the best way to include the template to make it work (with dataTables, search, pagination, filters and other CRUD list possibilities)?
Beta Was this translation helpful? Give feedback.
All reactions