Skip to content

Commit 76a4eb6

Browse files
committed
Fix: Add missing attrs #11
1 parent ab79011 commit 76a4eb6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/components/checkbox/Checkbox.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
type="checkbox"
1212
:id="`vue-checkbox-${_uid}`"
1313
:checked="isChecked"
14+
:name="name"
15+
:disabled="disabled"
1416
:value="value"
1517
@change="onChange">
1618
<div class="vue-checkbox__inner">

src/components/radio/Radio.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
:id="`vue-radio-${_uid}`"
1414
:name="name"
1515
:checked="isChecked"
16+
:disabled="disabled"
1617
:value="value"
1718
@change="onChange">
1819
</span>

0 commit comments

Comments
 (0)