Skip to content

Conversation

@jwalterss
Copy link
Contributor

@jwalterss jwalterss commented Oct 28, 2025

Goal

Align custom section date validation with editorial requirements by enforcing that start and end dates
cannot be in the past, even when editing existing sections.

Implementation

Remove isEditMode bypass for start and end date validation. This ensures scheduled or live sections always
have dates on or after today, even when editing existing sections, and validates manually typed dates that
bypass the date picker's minDate constraint.

Reference

Tickets:

  Remove isEditMode bypass for start and end date validation. This ensures
  scheduled or live sections always have dates on or after today, even when
  editing existing sections, and validates manually typed dates that bypass
  the date picker's minDate constraint.
@jwalterss jwalterss requested a review from a team as a code owner October 28, 2025 17:32
@jwalterss jwalterss requested a review from jpetto October 28, 2025 17:33
Copy link
Collaborator

@jpetto jpetto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@jpetto jpetto merged commit d926cc2 into main Oct 28, 2025
10 checks passed
@jpetto jpetto deleted the HNT-1125-date-validation branch October 28, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants