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

permanentFilter issue in updating new values #2636

Closed
cmandesign opened this issue Dec 9, 2018 · 2 comments
Closed

permanentFilter issue in updating new values #2636

cmandesign opened this issue Dec 9, 2018 · 2 comments

Comments

@cmandesign
Copy link

When I update the permanentFilter props in List, I see that my functions are working with the previous state every time.
I've used a debugging tool to see what happens in the core and here is where I found the misplacing of data, in the ListController.js.
As you can see in the below picture, there is a line that wrote
const permanentFilter = this.props.filter
as I have seen in the debugger, the props have not been updated in this time and the value of permanentFilter is always the previous state.

image

@fzaninotto
Copy link
Member

Can you test with the latest react-admin version? I think it was fixed by #2831

@fzaninotto
Copy link
Member

No news for some time, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants