Ignore left-over issues
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
Jan Bader 2022-03-15 19:58:16 +00:00
parent f707197f42
commit d2dd7d5280
6 changed files with 11 additions and 3 deletions

View File

@ -100,6 +100,7 @@ function clear() {
>
<span
v-for="suggestion in Suggestions"
:key="suggestion.ID"
class="block"
:value="suggestion.ID"
@click="select"

View File

@ -1,5 +1,8 @@
<script lang="ts" setup>
const props = defineProps(["modelValue"]);
const props = defineProps<{modelValue: boolean}>();
const emits = defineEmits<{
(e: "update:modelValue", value: boolean): void
}>();
</script>
<template>
@ -7,6 +10,6 @@ const props = defineProps(["modelValue"]);
type="checkbox"
:checked="modelValue"
class="dark:bg-slate-900"
@change="$emit('update:modelValue', ($event.target as HTMLInputElement)?.checked)"
@change="emits('update:modelValue', ($event.target as HTMLInputElement)?.checked)"
>
</template>

View File

@ -1,11 +1,15 @@
<script lang="ts" setup>
const props = defineProps<{modelValue : number | string}>();
const emits = defineEmits<{
(e: "update:modelValue", value: number | string): void
}>();
</script>
<template>
<input
:value="modelValue"
class="dark:bg-slate-900"
@input="$emit('update:modelValue', ($event.target as HTMLInputElement)?.value)"
@input="emits('update:modelValue', ($event.target as HTMLInputElement)?.value)"
>
</template>