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,
|
||||
// and force update on blur.
|
||||
this.focused = false
|
||||
if (!isRange) {
|
||||
if (!isRange && !lazy) {
|
||||
this.on('focus', function () {
|
||||
self.focused = true
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue