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

async data update for select option will trigger DOM "change" event #6317

Closed
horans opened this issue Aug 8, 2017 · 2 comments
Closed

async data update for select option will trigger DOM "change" event #6317

horans opened this issue Aug 8, 2017 · 2 comments

Comments

@horans
Copy link

horans commented Aug 8, 2017

Version

2.4.2

Reproduction link

https://codepen.io/horan/pen/RZpKzP

Steps to reproduce

open console panel to check log

What is expected?

loading initial data for options should not trigger a DOM "change" event (as it should be done by user)

What is actually happening?

async data update will result with a DOM "change" event, while sync data update will not.


this should has something to do with commit c70addf and it was working fine with v2.4.1.

my app should fire a form submit after user changed option, but now the app will submit right after data initialized. (check commented line in sample js)

@jkzing
Copy link
Member

jkzing commented Aug 8, 2017

Thanks for reporting, this should be fixed by #6194.

@LinusBorg
Copy link
Member

Closing as duplicate of #6193

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