Β© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filamentβ€’13mo agoβ€’
2 replies
NickNY

Default Values For Dashboard Filters

I am using Filament 3.x. I have a custom dashboard taking advantage of use HasFiltersForm to apply a set of filters to the table widget + stat widgets on the page.

But it seems the Dashboard is either caching filter values or is storing them somewhere other than the URL. When I click the Dashboard nav item or clear the ?filters query param from the URL -- the dashboard filters still have their previous value. So the user ultimately has no way to NULL out the filters.

I know there is a way to disableCaching explicitly on a table via ->persistFiltersInSession(false), but this seems missing for the filterForm() methods or I have not figure out a way to make this happen.

There are a few GitHub issues that seem related, but they did not have a ton of information on how to fix this:

https://github.com/filamentphp/filament/issues/14180
https://github.com/filamentphp/filament/issues/7875

Has anybody run into this issue? How did you solve? Thanks for your help πŸ™
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

Validate negative values for filters
FilamentFFilament / β“β”Šhelp
2y ago
Dashboard with filters
FilamentFFilament / β“β”Šhelp
3y ago
Get values from filters
FilamentFFilament / β“β”Šhelp
17mo ago
clean filters from Dashboard
FilamentFFilament / β“β”Šhelp
3y ago