fix(Checkbox): revert type fix as it breaks checkboxes

This commit is contained in:
Benjamin Canac
2022-11-29 12:55:44 +01:00
parent 0ea924ca0d
commit 7f18c6bdc7

View File

@@ -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)