Skip to content

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

Open
@3ops-jgheeraert

Description

@3ops-jgheeraert

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions