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

[BUG] useDataGrid with mui GridToolbarFilterButton (premium) does not work well #6710

Open
3ops-jgheeraert opened this issue Mar 14, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@3ops-jgheeraert
Copy link

Describe the bug

Image
Image
Image

When useDataGrid is used with a MUI premium datagrid, my filter is behaving strangely. When I use "useList" in stead of useDataGrid it works well. Had this issue already been detected? What could be the reason?

Steps To Reproduce

  1. A mui datagrid premium with a graphql dataprovider (useDataGrid)
  2. Filter the data with the GridToolbarFilterButton
  3. Add for instance 2 times a filter for the same column, differnt values (with OR)
  4. When typing in the second OR filter, after a few ms my inserted value is moved to the upper filter field. So only one filter is left

Expected behavior

Normal filtering, without any issues. Filtering on the same field multiple times (AND/OR)

Packages

@mui/[email protected]
"@refinedev/mui": "^6.0.3",

Additional Context

No response

@3ops-jgheeraert 3ops-jgheeraert added the bug Something isn't working label Mar 14, 2025
@alicanerdurmaz
Copy link
Member

Hello @3ops-jgheeraert, thanks for the issue

I tested this using the table-material-ui-data-grid-pro example and was able to reproduce the issue.

Would you like to work on this task?

@3ops-jgheeraert
Copy link
Author

Hi @alicanerdurmaz
Thank you for reproducing this issue. Unfortunately, I cannot participate in this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants