© 2026 Hedgehog Software, LLC

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

clickable widget with filter

currently I am in TeamResource here is the widget where i have 2 projects if i click this widget
i will redirect to ProjectResource with these 2 projects filtered how can we archive this functionality
more details: i have team_id in ProjectResource and in current widget I also have the current team_id.

here is the widget code
Stat::make('Total Project', Project::where('team_id', $teamId)->count())->url(ProjectResource::getUrl())
,

currently, I am only redirecting to the Resource without a 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

clickable widget with filter
FilamentFFilament / ❓┊help
3y ago
clickable widget
FilamentFFilament / ❓┊help
3y ago
Widget with filter - mobile
FilamentFFilament / ❓┊help
3y ago
Filter widget
FilamentFFilament / ❓┊help
2y ago