Variable in repeat pagination problem

I’m using a variable inside a table repeat to dynamically show elements.
The variable is supposed to load with a value from the repeat, and the value only changes on click events.

The problem is, when going to another page it doesn’t load the “base” repeat value to the variable, and keeps the value of the same row index from before pagination change.

Is this a bug with loading new data with pagination?
I was thinking to have variables with dynamic id’s with the data id to solve this, can variables have dynamic id’s?

Community Page
Last updated: