Skip to content

Commit

Permalink
Fix for Vue3 - Now it works with Vue3 drewjbartlett#27
Browse files Browse the repository at this point in the history
  • Loading branch information
hasinhayder committed Jan 16, 2021
1 parent b26a4f5 commit 52a19a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/switches.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<span v-if="!label && !value" v-text="textDisabled"></span>
</span>

<input type="checkbox" :disabled="disabled" @change="trigger" :checked="value">
<input type="checkbox" :disabled="disabled" @change="trigger" :checked="value" v-model="value">

<div></div>
</label>
Expand Down

0 comments on commit 52a19a1

Please sign in to comment.