mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Merge pull request #410 from kevinashworth/patch-1
Prevent default on checkbox
This commit is contained in:
commit
f239d78772
@ -68,7 +68,7 @@
|
||||
<h3>Active</h3>
|
||||
|
||||
<div v-for="active in activeTodos">
|
||||
<label><input type="checkbox" @click="completeTodo(active.key)"> {{ active.todo.description }}</label>
|
||||
<label><input type="checkbox" @click.prevent="completeTodo(active.key)"> {{ active.todo.description }}</label>
|
||||
</div>
|
||||
|
||||
<h5 v-show="completedTodos.length > 0" class="completed-header">Completed</h5>
|
||||
@ -160,4 +160,4 @@ new Vue({
|
||||
|
||||
</script>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user