Navigation from Tabs to Custom Page
I have a settings resource with two tabs created using getTabs(). When I click on the second tab, I want it to navigate to a custom page that I have created. How can I achieve this ?
4 Replies
You mean this?
https://filamentphp.com/docs/3.x/panels/resources/listing-records/#using-tabs-to-filter-the-records
getTabs()
is used to filter the data.
Maybe you can use the updatedActiveTab()
to check the activeTab
and achieve what you need
https://github.com/filamentphp/filament/discussions/10731#discussioncomment-8077238GitHub
How to do deselect records after moving from one tab to another? · ...
I'm trying to make Tab component in index page like This , If I select a record in Proccessing Tab, and then when I move to Shipped Tab, selected record in proccessing tab is still selected. Wh...
No, I do not want to filter the data; I just want to navigate to a custom page using the tabs.
Thank you for your response🙂
If I use the header action, for example, let's say I have two header actions: "User" and "Account." If I click on "Account," it redirects to the edit profile page as indicated in the URL. However, the header action is not displayed on that page. I am attempting to treat this functionality like a tab, so it remains visible on all pages. This implies that even on the edit profile page, the "User" tab should be visible. If I click on the "User" tab, it should redirect to the corresponding user section.