We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4074104 commit 80fb6b8Copy full SHA for 80fb6b8
examples/todomvc/index.html
@@ -15,7 +15,7 @@ <h1>todos</h1>
15
autofocus autocomplete="off"
16
placeholder="What needs to be done?"
17
v-model="newTodo"
18
- @keypress.enter="addTodo">
+ @keyup.enter="addTodo">
19
</header>
20
<section class="main" v-show="todos.length" v-cloak>
21
<input class="toggle-all" type="checkbox" v-model="allDone">
@@ -33,7 +33,7 @@ <h1>todos</h1>
33
v-model="todo.title"
34
v-todo-focus="todo == editedTodo"
35
@blur="doneEdit(todo)"
36
- @keypress.enter="doneEdit(todo)"
+ @keyup.enter="doneEdit(todo)"
37
@keyup.esc="cancelEdit(todo)">
38
</li>
39
</ul>
0 commit comments