8000 no need to handle focus/blur for v-model with lazy (fix #2083) · vuejs/vue@8609d4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 8609d4a

Browse files
committed
no need to handle focus/blur for v-model with lazy (fix #2083)
1 parent c3848c8 commit 8609d4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/public/model/text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
// prevent messing with the input when user is typing,
4646
// and force update on blur.
4747
this.focused = false
48-
if (!isRange) {
48+
if (!isRange && !lazy) {
4949
this.on('focus', function () {
5050
self.focused = true
5151
})

0 commit comments

Comments
 (0)
0