Skip to content

Comments

fix:#653 Remove default dates from CreateGroup and EditGroup pages day picker#680

Merged
tonyb650 merged 2 commits intodevelopfrom
tony/653-date-select-form-error
Nov 13, 2025
Merged

fix:#653 Remove default dates from CreateGroup and EditGroup pages day picker#680
tonyb650 merged 2 commits intodevelopfrom
tony/653-date-select-form-error

Conversation

@tonyb650
Copy link
Contributor

Description

Before:

Having a pre-defined default date led to a bug where clicking on the same day (today) would set the form state for that date picker / form field to undefined instead of the correct date.

After:

Removed the default date in the form state for both the Drawing Date and the Exchange Date. Now the form cannot be submitted without a date being selected.

Also, improved the behavior of the Exchange Date picker so that "today" is disabled; "tomorrow" is the first choice that is enabled.

Closes #653

Pre-submission checklist

  • Code builds and passes locally
  • PR title follows Conventional Commit format (e.g. test #001: created unit test for __ component)
  • Request reviews from the Peer Code Reviewers and Senior+ Code Reviewers groups
  • Thread has been created in Discord and PR is linked in gis-code-questions

Copilot AI review requested due to automatic review settings November 11, 2025 22:41
@vercel
Copy link

vercel bot commented Nov 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
elecretanta Ready Ready Preview Comment Nov 11, 2025 10:41pm
elecretanta-storybook Ready Ready Preview Comment Nov 11, 2025 10:41pm
elecretanta-unit-test Ready Ready Preview Comment Nov 11, 2025 10:41pm

Copy link
Contributor

@jefische jefische left a comment

Choose a reason for hiding this comment

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

Looks solid! All is working well when testing both the create group and edit group calendars. I don't see any changes needed.

@tonyb650 tonyb650 merged commit 338c333 into develop Nov 13, 2025
11 checks passed
@tonyb650 tonyb650 deleted the tony/653-date-select-form-error branch November 13, 2025 04:26
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.

Gift Exchange Creation issue with current date selection

3 participants