Closed FFxSquall closed 6 years ago
You are using v-model in conjunction with an explicit @input listener. The result is expected.
@johnleider Even if I do not hang a listener, the input event will still be called twice. Note the 'should update model when route changes' test in VTabs.spec.js
. If you use toHaveBeenCalledTimes
instead oftoHaveBeenCalled
, you can see a problem. We already corrected similar behavior in #3494, than this case differs?
Fixed by #3561
Versions and Environment
Vuetify: 1.0.7 Vue: 2.5.15 Browsers: Chrome 65.0.3325.146 OS: Linux x86_64
Steps to reproduce
v-tabitem
insidev-tabs
Expected Behavior
input emit once
Actual Behavior
input emit twice
Reproduction Link
https://codepen.io/anon/pen/dmGPgQ?editors=1011
Other comments
need to fix "tabProxy" method