TernaryFilter null state is broken after refreshing and reseting filters.
Ran into issue with
This only started breaking since version 3.0.28 when filter query params were introduced.
How to reproduce the issue:
TernaryFilter, which also applies to TrashedFilter that's present in https://github.com/filamentphp/demo.This only started breaking since version 3.0.28 when filter query params were introduced.
How to reproduce the issue:
- Set up filament demo
- Upgrade to version 3.0.28 or above
- Open Customers index
/shop/customers - Enable filter
With deleted records - Refresh the page
- Click
Resetbutton in filter form - Observe that url query parameter has
for filter valuenull - Refresh the page
- Observe incorrect filter being applied.