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

Select with v-model triggers change event when its options are changed #6193

Closed
floorish opened this issue Jul 23, 2017 · 2 comments
Closed

Comments

@floorish
Copy link

Version

2.4.2

Reproduction link

https://jsfiddle.net/floorish/e2h2vwc2/

Steps to reproduce

Dynamically change the <option>s in a <select v-model="val"> tag and the v-model triggers a change event, but the actually chosen option hasn't changed.

What is expected?

v-model does not trigger a change event

What is actually happening?

v-model triggers a change event


Change of behaviour intruduced in c90b140

@jkzing
Copy link
Member

jkzing commented Jul 23, 2017

Looks like a regression

@posva
Copy link
Member

posva commented Jul 23, 2017

The event is triggering at the beginning as well while it shouldn't

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants