Inspection Date Now Pre-fills to Today When Creating a Report
Inspection Date Now Pre-fills to Today When Creating a Report
Available from: v0.1.288
What Changed
When you open the Create Report modal for either a check-in or a check-out, the Inspection Date field now automatically defaults to today's date.
Previously the field was blank, requiring agents to manually type or select a date before they could save the report — even when documenting an inspection happening right now.
Why It Matters
In the overwhelming majority of cases, a report is created on the same day as the inspection. Leaving the date blank introduced an unnecessary friction point and a potential source of error (e.g. submitting a report with no date attached, or accidentally recording the wrong date under time pressure).
This small change removes one required manual step from every single report creation flow.
How It Works
On modal open, the inspection date state is initialised to:
new Date().toISOString().split('T')[0]
// e.g. "2025-07-15"
This produces a date string in YYYY-MM-DD format, which is the format expected by the date input field.
Overriding the Default
The pre-filled date is fully editable. If you are creating a retrospective report for an inspection that took place on a different day, simply clear the field and enter or pick the correct date before saving.
Affected Workflows
| Workflow | Modal | Field |
|---|---|---|
| Check-Out | Create Check-Out Report | Inspection Date |
| Check-In | Create Check-In Report | Inspection Date |
No other fields, workflows, or API behaviours are affected by this change.