Skip to content

Commit

Permalink
fix(todolist): vuetify's checkobx init value
Browse files Browse the repository at this point in the history
  • Loading branch information
iliyaZelenko committed Feb 19, 2020
1 parent be244c1 commit 420d6e6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions demo/pages/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,23 @@ export default {
<h1>Yay Headlines!</h1>
<blockquote>Test quote.</blockquote>
<p>All these <strong>cool tags</strong> are working now.</p>
<p>
There is always something to do. Thankfully, there are checklists for that. Don't forget to call mom.
</p>
<ul data-type="todo_list">
<li data-type="todo_item" data-done="true">
Buy beer
</li>
<li data-type="todo_item" data-done="true">
Buy meat
</li>
<li data-type="todo_item" data-done="true">
Buy milk
</li>
<li data-type="todo_item" data-done="false">
Call mom
</li>
</ul>
`
}),
async created () {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/nativeExtensions/TodoList/TodoItemView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
data-drag-handle
>
<VCheckbox
:value="node.attrs.done"
:input-value="node.attrs.done"
class="mr-2 mt-3 pt-1"
hide-details
@change="onChange"
Expand Down

0 comments on commit 420d6e6

Please sign in to comment.