mirror of https://github.com/vuejs/vue.git
no need to handle focus/blur for v-model with lazy (fix #2083)
This commit is contained in:
parent
c3848c8c8c
commit
8609d4aafb
|
|
@ -45,7 +45,7 @@ export default {
|
||||||
// prevent messing with the input when user is typing,
|
// prevent messing with the input when user is typing,
|
||||||
// and force update on blur.
|
// and force update on blur.
|
||||||
this.focused = false
|
this.focused = false
|
||||||
if (!isRange) {
|
if (!isRange && !lazy) {
|
||||||
this.on('focus', function () {
|
this.on('focus', function () {
|
||||||
self.focused = true
|
self.focused = true
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue