© 2026 Hedgehog Software, LLC

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

Filament page filter

I have this code where I have tried to pass date filter in my filament page. I made one similar type of report few months ago which works with this similar approad but this one is not working. Even when I pass the date filter the data is not changing in the view but the date is passing through.

https://gist.github.com/Namrata199/b913be06177c0b1317d334180e3826ce
Gist
Filament Page Data not changing
Filament Page Data not changing. GitHub Gist: instantly share code, notes, and snippets.
Filament Page Data not changing
Solution
https://filamentphp.com/docs/3.x/tables/adding-a-table-to-a-livewire-component#adding-the-table

public function table(Table $table): Table
{
    return $table
        ->query(Product::query())
        ->modifyQueryUsing(fn () => $this->apiData)
        ...;
}
public function table(Table $table): Table
{
    return $table
        ->query(Product::query())
        ->modifyQueryUsing(fn () => $this->apiData)
        ...;
}
Adding a table to a Livewire component - Table Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

filament table filter
FilamentFFilament / ❓┊help
13mo ago
Filament Page
FilamentFFilament / ❓┊help
2y ago
Dashboard Filter Page
FilamentFFilament / ❓┊help
2y ago
Profile page filament
FilamentFFilament / ❓┊help
13mo ago