Vuetify: V-Select emits change event when V-Model changes (not only on user change)

Created on 31 Aug 2018  路  2Comments  路  Source: vuetifyjs/vuetify

Versions and Environment

Vuetify: 1.2.1
Vue: 2.5.17
Browsers: Google Chrome
OS: Linux Ubuntu 16.04

Steps to reproduce

Click the button to change the v-model of the v-select to 3. This will trigger a change event just like changing the v-select directly.

Expected Behavior

The v-select is updated to 3 with v-model and no change event is triggered. The change event is triggered when v-select is changed directly.

Actual Behavior

A change event is triggered when the v-select's v-model attribute is updated.

Reproduction Link

https://codepen.io/bjschwa2/pen/WgRPKp

critical bug

Most helpful comment

I also observe this issue and it's fairly problematic. As it stands I'll have to add some hackery to 'eat' the event when it's not an actual change.

All 2 comments

I also observe this issue and it's fairly problematic. As it stands I'll have to add some hackery to 'eat' the event when it's not an actual change.

Same here even by changing the bounded model like: v-bind:value="authorizedAPIs" it triggers change event. Becasue I am posting on change this is a real hindrance.

Was this page helpful?
0 / 5 - 0 ratings