Show the task's due date in the calendar's schedule dialog

The dialog shows the due date as a read-only field; it is changed on the
task's edit page.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-25 11:07:43 +02:00
co-authored by Claude Sonnet 5.5
parent 616b9fa5ad
commit ede7043765
5 changed files with 24 additions and 0 deletions
@@ -64,6 +64,7 @@ it('reschedules a task with the keyboard and returns focus to its bar', function
->on()->desktop()
->keys('#bar-'.$key, 'Enter')
->assertSee('Tehtävän aikataulu')
->assertValue('#task-schedule-due-on', now()->addDay()->format('j.n.Y'))
->assertNoAccessibilityIssues(level: 2)
->type('#task-schedule-dialog [wire\:model="plannedFrom"]', now()->addDay()->format('Y-m-d'))
->type('#task-schedule-dialog [wire\:model="plannedTo"]', now()->addDays(3)->format('Y-m-d'))