fix: deadline veld

This commit is contained in:
Joyelle Ndagijimana 2025-05-17 02:22:11 +02:00
parent 368130c431
commit b7486b4d1b
4 changed files with 31 additions and 37 deletions

View file

@ -12,19 +12,6 @@ export const assignmentTitleRules = [
},
];
/**
* Validation rule for the learning path selection.
*
* Ensures that a valid learning path is selected.
*/
export const learningPathRules = [
(value: { hruid: string; title: string }): string | boolean => {
if (value && value.hruid) {
return true; // Valid if hruid is present
}
return "You must select a learning path.";
},
];
/**
* Validation rule for the classes selection.