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

Column filter 'date-range' not resetting correctly #316

Closed
1 task done
vuckookv3 opened this issue Apr 20, 2024 · 1 comment
Closed
1 task done

Column filter 'date-range' not resetting correctly #316

vuckookv3 opened this issue Apr 20, 2024 · 1 comment
Labels
bug Something isn't working V2 Issue with MRT V2

Comments

@vuckookv3
Copy link

mantine-react-table version

2.0.0-beta.1

react & react-dom versions

18.2.0

Describe the bug and the steps to reproduce it

When using 'date-range' filter, you input some value in Min or Max, and then clear that value.. No data is shown afterwards...
This is also happening on your official example, which I provided.

What I could notice is, initial state of those filters are [undefined, undefined], but when the field gets cleared, it becomes [null, undefined]... Maybe that could help.

Minimal, Reproducible Example - (Optional, but Recommended)

https://codesandbox.io/p/devbox/github/KevinVandy/mantine-react-table/tree/v2/apps/mantine-react-table-docs/examples/customize-filter-variants/sandbox

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

No, because I do not know how

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@alessandrojcm alessandrojcm added bug Something isn't working V2 Issue with MRT V2 labels Apr 25, 2024
@alessandrojcm
Copy link
Collaborator

alessandrojcm commented Apr 25, 2024

This was fixed in #302, it has not been released yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working V2 Issue with MRT V2
Projects
None yet
Development

No branches or pull requests

2 participants