3rd Layer HasMany Relationship Manager doesn't show
Hello, everyone.
I'm trying to experiment with Filament's Relationship Manager. I'm making a todo app with models like this:
Task -> (has many) Subtask -> (has many) Subsubtask
Editing a task shows the subtasks fine. However, when I try to edit a subtask, a modal shows and the subsubtask relationship manager does not display.
Yes, I did not forget to register the Subsubtask Relation Manager to the SubtaskResource.php.
Does anyone notice what I've been doing wrong? Also, how do I make it so that a new page (not a modal) shows up when trying to edit a Subtask?
Any guidance is much appreciated. Just point me to the right resources and I'll do my best to learn by myself! Thank you!
2 Replies
Do you mean, nested resources?
https://filamentphp.com/plugins/guava-nested-resources
You can also create it manually
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#relation-pages
@Leandro Ferreira I am humbled. I promise that I was trying my best to look for this myself but for some reason, I couldn't find what I needed. This is exactly what I needed. Thank you very much πββοΈ