Skip to content

Commit

Permalink
fix(Checkbox): revert type fix as it breaks checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Nov 29, 2022
1 parent 0ea924c commit 7f18c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/forms/Checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const emit = defineEmits(['update:modelValue', 'focus', 'blur'])
const isChecked = computed({
get () {
return !!props.modelValue
return props.modelValue
},
set (value) {
emit('update:modelValue', value)
Expand Down

1 comment on commit 7f18c6b

@vercel
Copy link

@vercel vercel bot commented on 7f18c6b Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-nuxtlabs.vercel.app
ui-git-dev-nuxtlabs.vercel.app
nuxthq-ui.vercel.app

Please sign in to comment.