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

The onchange doesnt work? #88

Open
rohitkrishna094 opened this issue Nov 17, 2019 · 2 comments
Open

The onchange doesnt work? #88

rohitkrishna094 opened this issue Nov 17, 2019 · 2 comments

Comments

@rohitkrishna094
Copy link

When I click the last page or first page or previous page or next page li's, the onChange is passing a pageNumber which is wrong. Is there a handler for first page, last page, previous page and next page?

@hassaan-prog
Copy link

i am facing the same issue, when i redirect user from create or update to list (in the middle pages of pagination). it does not go from middle pages to first page but allows us to navigate to the last.

@rohitkrishna094
Copy link
Author

Yeah, I think the handler should return something different instead of pageNumber. I ended up writing my own pagination component, but I think this is a small fix in this library if author wants. Or maybe there is a way to handle it in this library which we are not aware of.

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

2 participants