F
Filament11mo 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 Sese11mo 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
dipu11mo ago
i am using filament v2
Kenneth Sese
Kenneth Sese11mo 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
dipu11mo ago
Any other way because it is a paid plugin
Kenneth Sese
Kenneth Sese11mo ago
Saw your other post and you can also disable columns too
dipu
dipu11mo ago
Yaa
Kenneth Sese
Kenneth Sese11mo ago
It’s not imposible…you could check out v3 code for doing tabs and that might get you on the right path.
dipu
dipu11mo ago
i am using filament v2 but it v3 tab not working in v2
toeknee
toeknee11mo ago
v3 tab would only work in v3
Kenneth Sese
Kenneth Sese11mo 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
More Posts
Disable tenant ownership relationIn a Jetstream based app we're using the Teams setup. In our app however, not all models are strictlStore the full file upload URL not just the filesystem extensionI am trying to use the file upload field to store an image url to a model `image` column. I want theHow to rename / translate the title "SUMMARY" when using TOTAL SUM or AVERAGE of COLUMNHello. I am using the: ``` ->summarize([ Average::make()->label('Promedio')->foactiveLocale error in ListResource using Filament Spatie TranslatableI'm trying to set a translatable resource in a new v3 Filament install. I've added the Actions\LocalHaving a page with form and action button to saveHello Guys, I'm trying to made a page, with a form inside, for now a simple form, But it doesn'Can you hide the default menu but still discover the resources?I have my own `navigationItems` array - and I only want to see those items in the navigation. In FilRefresh table after changing values with updateStateUsingHello, I using CheckBoxColumn to select default language. I changing values of rows in updateStateUsImage upload has no preview image. Upload works but it shows only the name of the file.How to use SpatieMediaLibraryFileUpload outside of a resource (custom form)?What exactly do I have to do, to get the SpatieMedia Field working on a custom form (outside of a reHide column in relationmanager based on parent modelI've Ctrl+F'ed through the server in the hopes that I could find a solution, but unfortunately could