Tabs: Mixing Tables and Forms

I need to create a page using tabs. One tab displays a table, while the other tabs display forms. each form uses different Eloquent models. while reading the docs I notice that Tabs are specific for tables or forms: forms: https://filamentphp.com/docs/3.x/forms/layout/tabs tables: https://filamentphp.com/docs/3.x/panels/resources/listing-records#customizing-the-filter-tab-labels
Solution:
If this is on a custom page, I think a solution would be to use the Tabs Blade component at the top-level, then create 1 Livewire component for each Tab content (1 table + 1 form) https://filamentphp.com/docs/3.x/support/blade-components/tabs...
Jump to solution
2 Replies
Solution
Patrick Boivin
Patrick Boivin15mo ago
If this is on a custom page, I think a solution would be to use the Tabs Blade component at the top-level, then create 1 Livewire component for each Tab content (1 table + 1 form) https://filamentphp.com/docs/3.x/support/blade-components/tabs
developer
developerOP15mo ago
thank you @Patrick Boivin
Want results from more Discord servers?
Add your server