chore: add some types (#1790)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1790 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
656c020125
commit
53c669b108
4 changed files with 5 additions and 1 deletions
|
@ -43,6 +43,7 @@ const props = defineProps({
|
|||
default: 'primary',
|
||||
},
|
||||
icon: {
|
||||
type: String,
|
||||
default: '',
|
||||
},
|
||||
loading: {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="color-picker-container">
|
||||
<datalist :id="colorListID">
|
||||
<option v-for="color in defaultColors" :key="color" :value="color" />
|
||||
<option v-for="defaultColor in defaultColors" :key="defaultColor" :value="defaultColor" />
|
||||
</datalist>
|
||||
|
||||
<div class="picker">
|
||||
|
@ -60,6 +60,7 @@ export default defineComponent({
|
|||
},
|
||||
props: {
|
||||
modelValue: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
menuPosition: {
|
||||
|
|
|
@ -60,6 +60,7 @@ export default defineComponent({
|
|||
},
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -72,6 +72,7 @@ export default defineComponent({
|
|||
required: true,
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue