I am trying to implement some filters on a bottomsheet for my supabase listview.
Currently it kinda works with app state variables, but it only works one time since after the second time a user filters the list view does not know it updated and i cannot refresh the database request.
My list view:
My bottom sheet that updates app state variables:
Expected result:
Have a list view, let user filter and remember the filters.
If user has changed the filter and clicked filter in the bottom sheet the listview on the page needs to be refreshed. Currently I dont think there is a way to do this?
Any one has already solved this kind of type filtering together with supabase?
Greetings,
Dylan