Skip to content

Return all table contents when clearing filter in ModelForm #355

@ollyhensby

Description

@ollyhensby

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions