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:Jump to 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...
2 Replies
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
thank you @Patrick Boivin