feat: kan opdracht aanmaken met deadline

This commit is contained in:
Joyelle Ndagijimana 2025-05-11 17:18:01 +02:00
parent ca4254bd67
commit 2180425323
4 changed files with 27 additions and 7 deletions

View file

@ -48,7 +48,7 @@
// Disable combobox when learningPath prop is passed
const lpIsSelected = route.query.hruid !== undefined;
const deadline = ref(null);
const deadline = ref(new Date());
const description = ref("");
const groups = ref<string[][]>([]);
@ -86,6 +86,7 @@
title: assignmentTitle.value,
description: description.value,
learningPath: lp || "",
deadline: deadline.value,
language: language.value,
groups: groups.value,
};