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

Adds :key to DataView v-for #2345

Merged
merged 1 commit into from
Mar 28, 2022
Merged

Conversation

jmverges
Copy link
Contributor

@jmverges jmverges commented Mar 23, 2022

DataView is missing :key in the main v-for which return odd states when pagination happens but results are contains the same tags but just changes some properties. This gets solved once the :key is there as a Vue understands is a new node.
This issue is a no brainer as v-for in general should use :key. You can see TableBody from DataTable makes use of :key.

@tugcekucukoglu tugcekucukoglu merged commit 7d980a7 into primefaces:master Mar 28, 2022
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

Successfully merging this pull request may close these issues.

2 participants