Skip to content

Commit 1107f01

Browse files
committed
Fixes 'type' attribute bindings
per vuejs/vue#6917
1 parent 35cb193 commit 1107f01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Yet another Vue treeview component.",
44
"author": "Gregg Rapoza <[email protected]>",
55
"license": "MIT",
6-
"version": "0.4.0",
6+
"version": "0.4.1",
77
"browser": "index.js",
88
"repository": {
99
"url": "https://github.com/grapoza/vue-tree",

Diff for: src/components/TreeViewNode.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
:id="inputId"
3737
class="tree-view-node-self-input tree-view-node-self-checkbox"
3838
:class="[customClasses.treeViewNodeSelfInput, customClasses.treeViewNodeSelfCheckbox]"
39-
:type="model.input.type"
39+
type="checkbox"
4040
:disabled="model.state.input.disabled"
4141
v-model="model.state.input.value"
4242
@change="$_treeViewNode_onCheckboxChange" />
@@ -45,7 +45,7 @@
4545
:id="inputId"
4646
class="tree-view-node-self-input tree-view-node-self-radio"
4747
:class="[customClasses.treeViewNodeSelfInput, customClasses.treeViewNodeSelfRadio]"
48-
:type="model.input.type"
48+
type="radio"
4949
:name="model.input.name"
5050
:value="model.input.value"
5151
:disabled="model.state.input.disabled"

0 commit comments

Comments
 (0)