Move Relationship Manager into a Tab
Hi,
I am currently working on a clients project and the client wants the management of the relationship moved into a tab.
I got no idea to be honest. Any ideas? :/
6 Replies
Hmm, maybe in the edit resource you can create custom view and create the tabs structur using tailwind cus filament using tailwind, then inside each tab you can insert this
so lets say, first tab i want the form stuff
so i add this
then in the second tab, i want the relationship, then i add this
what do you think?
https://filamentphp.com/docs/3.x/panels/resources/editing-records#custom-views
use this as your reference, if you need
How about repurposing side-menu plugin for this? I have same done with that, but menu options are on the side. Shouldn’t be a big thing to move it to tabs.
I'd like to avoid external plugins tbh
Cool, so make it yourself 🙂
I am not sure but try this once make a custom page and in the view file add the tab blade component from core concept filament doc and call all the pages in that tabs
In the blade file call the custom page like this
@livewire(\App\Resource\ContactResource\Pages\CustomPage::class)