Help: Filter Reset Action
I’m building a custom Filament page where I’m not using a table, but I added a FilterAction to handle filtering. It’s working, but I’m struggling to add a reset button to clear the filters from the modal form.
In my Blade view, I render it like:
How can I add a reset/clear action to this filter modal?
Any help would be appreciated!
Solution:Jump to solution
Suer, @Dennis Koch ,
For now,
```php
->extraModalFooterActions(function () {...
6 Replies
I guess you could add it via the modalFooterAction()
Thanks for reply @Dennis Koch
How can I reset that filter form with this action
I don't have the exact code but I think something like this:
I tried this approach, but it show this
Is there any other possible solution you know about it ?
There's probably a method for it then. Try checking the source code.
Solution
Suer, @Dennis Koch ,
For now,
this solution work for me