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

Unstable behaviour when used in an iterator like v-for #126

Open
salvationarinze opened this issue Apr 11, 2020 · 3 comments
Open

Unstable behaviour when used in an iterator like v-for #126

salvationarinze opened this issue Apr 11, 2020 · 3 comments

Comments

@salvationarinze
Copy link

I use checkbox to show a list of items and whenever I check a box, I remove it from the list. When this operation occurs, the checkbox replaced the previous one in that becomes checked automatically. It causes lots of instability. Please check

@alfausto
Copy link

I have a similar issue. I have a checkbox inside a listview with a for. It renders fine, but, whenever I tap some line, this checks others and the action function runs several times... I thought it was my mistake and i've been checking my code for hours... Could someone give us a hand?

@Bobbel0815
Copy link

Got a related problem. Inside a v-for, the change of the :checked prop get not registered. I tried to copy the behavior of the radio buttons, so I took a component and gave it a v-for of objects with a "selected" prop on the :checked prop, but I can't change the :checked prop of the other objects.

@Bobbel0815
Copy link

Got a related problem. Inside a v-for, the change of the :checked prop get not registered. I tried to copy the behavior of the radio buttons, so I took a component and gave it a v-for of objects with a "selected" prop on the :checked prop, but I can't change the :checked prop of the other objects.

I found a solution for my problem. The ListView uses a concept called view recycling.
So you have to manually refresh the ListView via the refresh() method.

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

3 participants