You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Require due date when setting assignments and tests
The Assignment Schedule didn't seem to disable the button on an invalid
due date or show the warning, so this fixes the logic in Set Assignments
and copies it over too.
Quizzes have a slightly different check to assignments because the
deadlines work differently, but this may no longer be necessary in the
future.
{dueDateInvalid&&<smallclassName={"pt-2 text-danger"}>{dueDate.valueOf()>TODAY().valueOf() ? "Due date must be on or after the start date." : `Due date must be after today.`}</small>}
0 commit comments