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

Why does yo-yo reset the value property of select elements? #58

Open
aknuds1 opened this issue Dec 29, 2016 · 0 comments
Open

Why does yo-yo reset the value property of select elements? #58

aknuds1 opened this issue Dec 29, 2016 · 0 comments

Comments

@aknuds1
Copy link
Contributor

aknuds1 commented Dec 29, 2016

I've noticed that yo-yo fiddles with the selection state of my select elements when I change which option is selected by setting its selected property.

By debugging, I figured out that it's due to this code. Should it instead copy from t to f? I don't understand why the mutating element should get modified, it seems the opposite should happen.

@aknuds1 aknuds1 changed the title Why does yo-yo reset the value property of select elements? Why does yo-yo reset the value property of select elements? Dec 30, 2016
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

1 participant