Can't disable the Tooltip on the Checkboxes #435
Replies: 5 comments
-
@tobi110289 hey can you try with the latest beta and confirm if this still happens? |
Beta Was this translation helpful? Give feedback.
-
@alessandrojcm I updated to "mantine-react-table": "2.0.0-beta.6". Is there a different syntax I could try? |
Beta Was this translation helpful? Give feedback.
-
No that's look like a bug I'll check it out |
Beta Was this translation helpful? Give feedback.
-
@alessandrojcm thanks! Appreciate it :) |
Beta Was this translation helpful? Give feedback.
-
Hey, so after looking into this, I don't think it is a bug. the label gets passed to the tooltip as-is, and at the moment there is no way of hiding the tooltip. Moreover, I don't think hiding the tooltip if the string is empty would be a good idea. However, adding a prop to hide the tooltip would be trivial, please feel free to to add a PR if that is something you would like :) (You can start here: https://github.com/KevinVandy/mantine-react-table/blob/v2/packages/mantine-react-table/src/components/inputs/MRT_SelectCheckbox.tsx) |
Beta Was this translation helpful? Give feedback.
-
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
I am trying to disable the tooltips on the individual rows and the SelectAll Checkboxes, but I have found no way to do that successfully.
If I give these Props, there is a little "empty" box rendered (see screenshot)
I am looking forward to a simple solution!
Thank you very much
Minimal, Reproducible Example - (Optional, but Recommended)
/
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 have time to dig into it
Terms
Beta Was this translation helpful? Give feedback.
All reactions