Skip to content

Commit

Permalink
Fixes 'type' attribute bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
grapoza committed Jan 29, 2019
1 parent 35cb193 commit 1107f01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Yet another Vue treeview component.",
"author": "Gregg Rapoza <grapoza@gmail.com>",
"license": "MIT",
"version": "0.4.0",
"version": "0.4.1",
"browser": "index.js",
"repository": {
"url": "https://github.com/grapoza/vue-tree",
Expand Down
4 changes: 2 additions & 2 deletions src/components/TreeViewNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
:id="inputId"
class="tree-view-node-self-input tree-view-node-self-checkbox"
:class="[customClasses.treeViewNodeSelfInput, customClasses.treeViewNodeSelfCheckbox]"
:type="model.input.type"
type="checkbox"
:disabled="model.state.input.disabled"
v-model="model.state.input.value"
@change="$_treeViewNode_onCheckboxChange" />
Expand All @@ -45,7 +45,7 @@
:id="inputId"
class="tree-view-node-self-input tree-view-node-self-radio"
:class="[customClasses.treeViewNodeSelfInput, customClasses.treeViewNodeSelfRadio]"
:type="model.input.type"
type="radio"
:name="model.input.name"
:value="model.input.value"
:disabled="model.state.input.disabled"
Expand Down

0 comments on commit 1107f01

Please sign in to comment.