Table Filters are set to null

Not sure if this is a problem of my installation, or it is a known issue: When I reload list page with an active filter, then empty filters are set to "null". The following filters.
TernaryFilter::make("active"),
Tables\Filters\SelectFilter::make("ad_customer_id")
->label("Werbekunde")
->relationship("adCustomer", "name")
->searchable(),
TernaryFilter::make("active"),
Tables\Filters\SelectFilter::make("ad_customer_id")
->label("Werbekunde")
->relationship("adCustomer", "name")
->searchable(),
1) I click on the "active" filter, everything is fine, the result is filtered and the "Werbekunde" isn't changed 2) I click on Reload Page (CTRL+R), nur the "Werbekunde" is set to null???
2 Replies
Dennis Koch
Dennis Koch2y ago
Sounds like a bug with query filters. Maybe related to this? https://github.com/filamentphp/filament/issues/7129
GitHub
Query string includes all available filters causing an error on ref...
Package filament/filament Package Version v3 Laravel Version v9.19 Livewire Version v3 PHP Version PHP 8.1 Problem description In v3 when you select a filter, the query string will then populate wi...
bernhard
bernhardOP2y ago
yup. That sounds like the same bug. Thanks for pointing me to there

Did you find this page helpful?