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
{{ message }}
Repository navigation
DEV - Warn user and block submission when application date is after due date #407
On the Add Grant and Edit Grant forms, validate that the application date is not after the due date. If it is, show an inline error and disable the submit button until the conflict is resolved.
Tasks
Write a validation function that compares application date to due date in both Add and Edit Grant cards
Render an error message below the date fields when validation fails (copy other error messages) when you add conflicting dates in
Disable the submit button when the error state is active
Clear the error state when the conflict is resolved
Acceptance Criteria
If application date > due date, display an inline error near the date fields.
Submit/save button is disabled while the error condition is active.
Validation runs on field blur and on submit attempt.
Error clears immediately when the conflict is resolved.
Applies to both Add Grant and Edit Grant.
Test both Add and Edit flows manually to confirm behavior
Activity