FilamentF
Filament2y ago
jw

Get current value of table filter

I am trying to filter the results of a SelectFilter based on the boolean value of another TableFilter (basic toggle). (Please see attached screenshot)

The SelectFilter is 'Events' and the basic toggle filter is 'today_only'. If 'today_only' = true, I would like to filter the available options in the SelectFilter.

However, the value of the 'today_only' is always the old/previous value rather than the current.

Is there a way to get the current value of the filter or change the event execution order etc. to get the current value?

Thanks
image.png
Solution
Solved the issue using a custom filter
image.png
Was this page helpful?