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

Filtered icon tooltip write "undefined" when you use custom filterFn #563

Closed
1 task done
KarachunVladislav01 opened this issue Jun 12, 2023 · 2 comments
Closed
1 task done

Comments

@KarachunVladislav01
Copy link

KarachunVladislav01 commented Jun 12, 2023

material-react-table version

1.11.4

react & react-dom versions

17.0.2

Describe the bug and the steps to reproduce it

Thanks for good library!

Issue found:
When you use custom filterFn.

Steps to reproduce on attached example(from official storybook):

  1. Write something at gender filter
  2. Move cursor to gender filter Icon

Mb possible solution can be - turn off filter tooltip, or customize tooltip body with filter props.

Minimal, Reproducible Example - (Optional, but Recommended)

https://www.material-react-table.dev/?path=/story/features-filtering-examples--custom-filter-fns

Screenshots or Videos (Optional)

Screenshot from 2023-06-12 20-37-17

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.
@KevinVandy
Copy link
Owner

duplicate of #201

The filtering docs shows you how to fix this https://www.material-react-table.com/docs/guides/column-filtering#customize-filter-modes-source-code

@RiaBatraTR
Copy link

@KevinVandy Hi,

can we disable these tooltips? or change the text completely

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

3 participants