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

DataTable multi selection with meta key #1305

Closed
rvstanchev opened this issue May 28, 2021 · 0 comments
Closed

DataTable multi selection with meta key #1305

rvstanchev opened this issue May 28, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Milestone

Comments

@rvstanchev
Copy link

rvstanchev commented May 28, 2021

I'm submitting a ...

[x] bug report 
[ ] feature request 
[ ] support request 

Current behavior
In version 2.4.1 pagination (changing pages) of DataTable results fails when a filter is applied.
Link to diff:
2.4.0...2.4.1

Expected behavior
User should be able to see paginated results when clicking on corresponding buttons (next page, previous page, etc.)

Minimal reproduction of the problem with instructions
Steps to reproduce:

  1. Create a primevue datatable that has (accepts) enough data to require pagination (2+ pages) and has a filter applied.
  2. Try to change data displayed in table by changing pages

Demo:
https://codesandbox.io/s/sweet-kapitsa-u9cje
https://u9cje.csb.app/

What is the motivation / use case for changing the behavior?
With current behavior it is not possible to change pages and display corresponding data for pages other than the first one.

  • Vue version: 2.6.12

  • PrimeVue version: 2.4.1

  • Browser: Reproduced in Chrome 91.0, Firefox 88.0

@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2 labels May 31, 2021
@tugcekucukoglu tugcekucukoglu added this to the 2.4.2 milestone May 31, 2021
@tugcekucukoglu tugcekucukoglu self-assigned this May 31, 2021
@tugcekucukoglu tugcekucukoglu changed the title DataTable: Impossible to visualize data for pages other than the first one when there are 2+ pages and a filter is applied DataTable multi selection with meta key May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Projects
None yet
Development

No branches or pull requests

2 participants