© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
dodecadaedra

How to get the filters currently in use on a rendered table.

I'm trying to conditionally make actions visible based on the currently active filter on my table. This is in a livewire component with a filament table.
I can't sort out how to determine if the only_trashed filter is active. I want to show the restore button and hide the deleted button, and vice versa, but am struggling with building the conditions for visible() on the action. I can find functions to determine the available filter options, but not the actual active filter.
image.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to use table filters in getEloquentQuery?
FilamentFFilament / ❓┊help
2y ago
How to get Table filters values from tables ?
FilamentFFilament / ❓┊help
3y ago
How to use deep relations in filters in the V3 Table Builder?
FilamentFFilament / ❓┊help
3y ago
Way To Use Filters Outside a Filament Table?
FilamentFFilament / ❓┊help
2y ago