Implement custom checkbox #35

Merged
jacob1123 merged 4 commits from checkbox into master 2022-03-02 21:34:27 +01:00
Showing only changes of commit a73f7c2934 - Show all commits

View File

@ -4,7 +4,7 @@ const props = defineProps(["modelValue"]);
<template> <template>
<input <input
v-model="modelValue" :value="modelValue"
@input="$emit('update:modelValue', ($event.target as HTMLInputElement)?.value)" @input="$emit('update:modelValue', ($event.target as HTMLInputElement)?.value)"
class="dark:bg-slate-900"> class="dark:bg-slate-900">
</template> </template>