Return all table contents when clearing filter in ModelForm
ollyhensby opened this issue · 0 comments
ollyhensby commented
Issue
When the ModelForm
is cleared, I would like to show all the table contents again. Currently, after clearing, the filtered contents are still displayed.
For example, in the table demo I've selected China
which filters the table as expected:
This takes you to the endpoint: /table/cities?country=CHN
Is it possible to add a GoToEvent
that takes you back to /table/cities
when you clear the filter i.e. when clicking on the x
:
This would then return:
Currently it still leaves you at /table/cities?country=CHN
once you press the cross button.
Any help with getting this to work is much appreciated! Loving FastUI btw!