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

Next button not working in Pagination #6442

Closed
techmodule opened this issue Jul 17, 2021 · 3 comments
Closed

Next button not working in Pagination #6442

techmodule opened this issue Jul 17, 2021 · 3 comments

Comments

@techmodule
Copy link

techmodule commented Jul 17, 2021

I have use "react-admin": "^3.17.0",
But i have problem for Next button in Pagination, it is not working.
bug next button
I check my API server by change url in browers.
http://localhost:3000/#/events?displayedFilters=%7B%7D&filter=%7B%7D&order=ASC&page=1&perPage=10&sort=id
Change the page=1 to page=2
http://localhost:3000/#/events?displayedFilters=%7B%7D&filter=%7B%7D&order=ASC&**page=2**&perPage=10&sort=id
it is worked well.
change url

But Next button same disable.
P/S: I try to change by use "ra-data-json-server": "^3.17.0", with the tutorial https://marmelab.com/react-admin/Tutorial.html, it is still not working

@chadfaurie
Copy link

I think this is related to a change in material UI as I had similar issues with table components

@scheiblr
Copy link
Contributor

Might be this issue: https://stackoverflow.com/questions/67077267/react-material-ui-tablepagination-onchangepage-is-not-a-function ?
I have the same problems with paginations. An error is thrown, though: Uncaught TypeError: onChangePage is not a function

@fzaninotto
Copy link
Member

Yes, I believe it's a duplicate of #6421. Material-ui has published a breaking change in a minor version, there is nothing we can do on our side, we have to wait for them to fix it on their side and publish the fix in a new minor release. You can add your vote to mui/material-ui#27192 (comment), or contribute a patch there, to get this fixed faster.

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

No branches or pull requests

4 participants