F
Filament16mo ago
dipu

can we disable filter icon in table and add button instead of filter form to filter

can we disable filter icon in table and add button instead of filter form to filter
11 Replies
Kenneth Sese
Kenneth Sese16mo ago
Showing the filter indicator requires the filter to be present on the table which means the filter icon/form has to be on the table as well.
dipu
dipuOP16mo ago
i am using filament v2
Kenneth Sese
Kenneth Sese16mo ago
Gotcha. Well, sorry to plug my own plugin, but since you’re on v2, #filter-sets kind of does exactly this. You can choose between v3 like tabs (no need for a filter icon), or just easy links to one or more filters. https://filamentphp.com/plugins/kenneth-sese-filter-sets
Filament
Filter Sets by Kenneth Sese - Filament
Let your users combine their filters, searches, column order, and more into convenient and easily accessible filter sets.
dipu
dipuOP16mo ago
Any other way because it is a paid plugin
Kenneth Sese
Kenneth Sese16mo ago
Saw your other post and you can also disable columns too
dipu
dipuOP16mo ago
Yaa
Kenneth Sese
Kenneth Sese16mo ago
It’s not imposible…you could check out v3 code for doing tabs and that might get you on the right path.
dipu
dipuOP16mo ago
i am using filament v2 but it v3 tab not working in v2
toeknee
toeknee16mo ago
v3 tab would only work in v3
Kenneth Sese
Kenneth Sese16mo ago
Right, it won’t work out of the box, but you can dive into the code and adapt to v2. (And I know this is possible, since I did it for my plugin).
Want results from more Discord servers?
Add your server