You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
The onFilterModelChange callback is not called when you change the link operator on the filter.
This is a bug because when you have the filterMode="server" attribute, you rely on the callback to trigger updated requests to the server.
Expected Behavior 🤔
The onFilterModelChange callback should be called with the updated filter model if you change the link operator on the filter.
Change the filter by adding another multi filter. This should change the "last filter change" ISO string shown below the table.
Change the link operator on the filter. This will not change the ISO string shown below the table.
Context 🔦
Using the filterMode="server" onFilterModelChange={onFilterChange} attributes, data is fetched with the new filter model in onFilterChange. Changing the link operator results in an invalid state of data where the presented data does not match what is shown in the filter model.
wjdwndud0114
changed the title
onFilterModelChange is not called when changing the link operator
[XGrid] onFilterModelChange is not called when changing the link operator
May 19, 2021
Hi @dtassone thank you for taking this issue. Can we escalate this issue as well as #1145 ? Purchased the pro plan and updated the issue description with the order ID.
Current Behavior 😯
The
onFilterModelChange
callback is not called when you change the link operator on the filter.This is a bug because when you have the
filterMode="server"
attribute, you rely on the callback to trigger updated requests to the server.Expected Behavior 🤔
The
onFilterModelChange
callback should be called with the updated filter model if you change the link operator on the filter.Steps to Reproduce 🕹
https://codesandbox.io/s/material-demo-forked-2nrlb
Steps:
Context 🔦
Using the
filterMode="server" onFilterModelChange={onFilterChange}
attributes, data is fetched with the new filter model inonFilterChange
. Changing the link operator results in an invalid state of data where the presented data does not match what is shown in the filter model.Your Environment 🌎
`npx @material-ui/envinfo`
Order id 💳
[Order #25281] (May 25, 2021)
The text was updated successfully, but these errors were encountered: