fix checkboxes, specifically the NSFW one

This commit is contained in:
Henry Jameson 2022-03-24 11:41:39 +02:00
parent 9793002070
commit 4539feed40
9 changed files with 14 additions and 17 deletions

View file

@ -6,9 +6,9 @@
<input
type="checkbox"
:disabled="disabled"
:checked="checked"
:modelValue="modelValue"
:indeterminate="indeterminate"
@change="$emit('change', $event.target.checked)"
@change="$emit('update:modelValue', $event.target.checked)"
>
<i class="checkbox-indicator" />
<span
@ -22,12 +22,9 @@
<script>
export default {
model: {
prop: 'checked',
event: 'change'
},
emits: ['update:modelValue'],
props: [
'checked',
'modelValue',
'indeterminate',
'disabled'
]