mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 10:20:42 +01:00
fix(Checkbox): revert type fix as it breaks checkboxes
This commit is contained in:
@@ -90,7 +90,7 @@ const emit = defineEmits(['update:modelValue', 'focus', 'blur'])
|
|||||||
|
|
||||||
const isChecked = computed({
|
const isChecked = computed({
|
||||||
get () {
|
get () {
|
||||||
return !!props.modelValue
|
return props.modelValue
|
||||||
},
|
},
|
||||||
set (value) {
|
set (value) {
|
||||||
emit('update:modelValue', value)
|
emit('update:modelValue', value)
|
||||||
|
|||||||
Reference in New Issue
Block a user