Q-table does not update all data on a slow machine #17366
Unanswered
amav96
asked this question in
General - Components / Directives / etc
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a view that renders a component that is an abstraction of q-table, I only pass it props, and those props are the rows of the table. On a machine with high resources there are never any problems, but on machines with few resources it seems that the row-key is not doing its job and mixes up the data, that is, the record in position 0 can have the data of the record in position 5. I already tested it in production and the problem is real. The only solution I found was to empty the array that has rows and then reset it (which seems ugly to me :D)
I have this same implementation in 5 views: Users, teams, documents, managed teams and visits. All 5 views have the same problem (Mixing data.) In one view, even the value of the id column was never updated, when refreshing data or changing pages, it always showed the same results in the front, and the api json brings the correct data.
I already solved it but I would like to know if anyone else has this problem?
Beta Was this translation helpful? Give feedback.
All reactions