KevinVandy/material-react-table

Custom filter popover text

ISvirko opened this issue · 0 comments

material-react-table version

2.12.0

react & react-dom versions

18.1.0

Describe the bug and the steps to reproduce it

I have a custom Dates filter, which keeps the filter state as an object. It's saved to backend as stringified version and then I only have an option to stringify the value for that filter to show in the tooltip and it's not user-friendly. It would be great to tranform that object in my own custom way just to display in the tooltip, but keep the original value as filter state.
Thank you very much for looking into it!

Screenshots or Videos (Optional)

this is what I have:
image

this is what I'd like to have inside the tooltip:
image

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

None

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.