Not able to filter table on custom livewire component
What I am trying to do:
I try to filter a table implemented in a custom livewire component.
What I did:
I added the HasTable and HasForm contracts and the useInteractsWithTable and the useInteractsWithForm traits in my custom livewire component.
I also implemented the table function, my records are well retrieved and displayed then i added a SelectFilter to filter on a category field.
My issue/the error:
When i use my filter nothing happens and i have no errors, the filter does not appears in the table header, the query strings are not updated and ofcourse my table is not filtered. The same table is working great in admin panel.
Thank you in advance for your answers and sorry for the bad english.
2 Replies
To add some context, my component is a full page component
you may need these:
https://filamentphp.com/docs/3.x/tables/advanced#query-string