F
Filament8mo ago
ericmp

Way To Use Filters Outside a Filament Table?

I'm in a custom admin panel filament view, and i need to apply filters to the data im showing to the user. Currently im doing it via applying HasForms & InteractsWithForms to the custom page. then, im using the form as a filter. i dont submit the form, i just await for the fields to be changed and then i apply my sort based on that the question is, is there a way to bring the filament table filter outside the table so can be used as an independent filter that can be applied to a custom page somehow and not depends on a table?
3 Replies
ericmp
ericmpOP7mo ago
bump
krekas
krekas7mo ago
if it's a custom page you should build everything custom them get filters from the url which would be saved in the properties and use them in your query
ericmp
ericmpOP7mo ago
thanks!
Want results from more Discord servers?
Add your server