Filament Plugin: Relation Manager as Table Modal
ฝัง
- เผยแพร่เมื่อ 10 ก.พ. 2025
- I want to showcase a new package for Filament that allows re-using a typical Relation Manager inside the main table.
Link to GitHub: github.com/Gua...
Link to the announcement tweet: x.com/_LukasFr...
More Filament examples on our website: filamentexampl...
Brilliant, this is way better than clicking into a busy edit page and having to scroll down to yet another manager.
that should be default in filament v4
I like that! I don't think of a specific scenario to use relation managers this way but I know that this time will come.
I do have a question related to relation managers though. What is the best practice to stack 2 relation managers horizontal instead of vertically (which is the default Filamentphp RelationManagerGroup thingy)?
Not sure I understand. Horizontal where exactly? On the right side of main edit page?
please how do I remove the new Course button?
so u have an action to trigger modal window that contains the table with relationship records and each of this records is actually a trigger for modal window to open view \ edit mode, so now we have 2 modal layers at the same time or prev modal is closing before new modal opened? 🤔
Not sure, haven't tried, to be honest :)
Hello, I'm curious to understand if it is possible to define a global modal, pass data into it, and open it from any custom Filament pages?
I don't think so. At least, not easily.
What are the alternatives options?
I don't have a quick answer, sorry. Custom code with JavaScript is needed