Closed AtefBellaaj closed 11 months ago
Thanks a lot for bringing this to my attention. The issue should be fixed in the latest version, check the age column filter on this example: https://icflorescu.github.io/mantine-datatable/examples/searching-and-filtering.
Can't remember exactly, but I assume the onClick={(e) => e.preventDefault()}
was there to prevent accidentally triggering the sort when clicking inside the popup. Should have used .stopPropagation()
instead.
Awsome. You are very, welcome. Thank you for sharing this awesome library.
Describe the bug Checkboxes do not work in filter.
To Reproduce Steps to reproduce the behavior:
Expected behavior The checkbox should work properly
Screenshots
Desktop (please complete the following information):
Additional context Since the filter uses a Mantine PopOver, i reproduced the error with a simple popover and a checkbox somewhere else. To reproduce the error, just add (like in the datatable code pase) add onClick={(e) => e.preventDefault()}. I think this is the source of the problem. line of code