fix checkboxes, specifically the NSFW one
This commit is contained in:
parent
9793002070
commit
4539feed40
9 changed files with 14 additions and 17 deletions
|
@ -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'
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue