mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[DataGridPro] - Filter Toolbar tooltip shows 'undefined' for 'is Empty' and 'is Not Empty' operators

Open putnamn21 opened this issue 3 years ago • 1 comments

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Current behavior 😯

in the datagrid toolbar filters button, the tooltip that displays a summary of filters applied to the grid will display [column title] is empty undefined if you picked a is empty or is not empty filter operator

Expected behavior 🤔

it just displays [column] is empty in the tooltip

Steps to reproduce 🕹

Steps:

  1. Go to a MUI grid on MUI.com that has the tool bar with the filters button.
  2. Filter a column with isEmpty or isNotEmpty operator
  3. hover over the filter button in the toolbar to see the tooltip
  4. note that 'undefined' is displayed in the tooltip

Context 🔦

No response

Your environment 🌎

No response

Order ID 💳 (optional)

44631

putnamn21 avatar Sep 21 '22 20:09 putnamn21

it seems uploading a image is currently broken on github else i would include a screenshot. My console shows POST https://github-production-user-asset-6210df.s3.amazonaws.com/ net::ERR_CERT_COMMON_NAME_INVALID when attempting to upload a jpg or png

putnamn21 avatar Sep 21 '22 20:09 putnamn21

Thanks @putnamn21 I can confirm it's a bug.

Screenshot 2022-09-22 at 16 43 22

cherniavskii avatar Sep 22 '22 14:09 cherniavskii