How to remove applied filters from url
how to remove the applied filters from url ,while apply table filters the url change with tableFilters and tableSearch so is there any way to remove these changes from default url
Solution:Jump to solution
Since you are using Table Builder then remove the
#[Url]
from above the $tableFilters
property5 Replies
If you remove the filters from the query string then when you refresh the page then all the filters will be reset. That’s usually not what users expect.
If that’s still what you want to do then you should be able to override the default behavior: https://filamentphp.com/docs/3.x/tables/advanced#query-string
bro when i apply filter the url change but i dont want that i want the url should remain same as it is and filters are added
is there any way?
Solution
Since you are using Table Builder then remove the
#[Url]
from above the $tableFilters
propertypublic ?array $tableFilters = null;
public $tableSearch = '';
thanks @archilex i use these two in wrong place after some time i use this in list page then it work !