17 lines
324 B
TypeScript
17 lines
324 B
TypeScript
/**
|
|
* Validation rule for the assignment title.
|
|
*
|
|
* Ensures that the title is not empty.
|
|
*/
|
|
|
|
/**
|
|
* Validation rule for the classes selection.
|
|
*
|
|
* Ensures that at least one class is selected.
|
|
*/
|
|
|
|
/**
|
|
* Validation rule for the deadline field.
|
|
*
|
|
* Ensures that a valid deadline is selected and is in the future.
|
|
*/
|