Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return all table contents when clearing filter in ModelForm #355

Open
ollyhensby opened this issue Sep 27, 2024 · 0 comments
Open

Return all table contents when clearing filter in ModelForm #355

ollyhensby opened this issue Sep 27, 2024 · 0 comments

Comments

@ollyhensby
Copy link

ollyhensby commented Sep 27, 2024

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:

image

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:

image

This would then return:

image

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant