diff --git a/frontend/src/lib/components/ui/InputCheckbox.vue b/frontend/src/lib/components/ui/InputCheckbox.vue index 50e4edc58..3e9298d1b 100644 --- a/frontend/src/lib/components/ui/InputCheckbox.vue +++ b/frontend/src/lib/components/ui/InputCheckbox.vue @@ -4,14 +4,14 @@ import { type ValidationRule } from "@vuelidate/core"; import { useValidation } from "~/lib/composables/useValidationHelpers"; const emit = defineEmits<{ - (e: "update:modelValue", value: boolean | boolean[]): void; + (e: "update:modelValue", value: boolean | boolean[] | undefined): void; }>(); const internalVal = computed({ get: () => props.modelValue, set: (val) => emit("update:modelValue", val), }); const props = defineProps<{ - modelValue: boolean | boolean[]; + modelValue?: boolean | boolean[]; label?: string; disabled?: boolean; errorMessages?: string[];