hidden filter icon on other tabs
hello guys i used gettabs and apply table filter in one tab how remove filter icon from an other tab in filament
7 Replies
I think you can hide all filters based on the current tab. Add
->visible(fn ($livewire) => $livewire->activeTab == 'your_tab')
to the filtersyes this work, it hide filter icon from all tabs and appear just when select item in target tab, just i would like it to take the normal behavior in the target tab and hidden from another
is this possible?
Don't understand what's the difference between what you want and what it does?
i want to hide filter icon in all tabs and make it visible in this tab, the previous code hide filter icon from all tabs and just make it visible when items selected like bulkaction visible when select item.
Not sure why it should happen when using BulkSelect. 🤔
it hedden in all tabs and in target tab visible just when select item exactly like bulkaction visible when select items. yes it visible when using bulkSelect.
the normal it should be visible in header of table i'm right?
Yes. As long as there are filters