Skip to content

Fix/end date picker validation #870

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kiingxo
Copy link

@kiingxo kiingxo commented Jul 17, 2025

Proposed Changes

-Fix end date picker so that the initial date is always after the start date and never before it.
-Prevents assertion errors in the date picker dialog when the end date is before or equal to the start date.
-Allows users to select end dates up to 10 years in the future.

Related Issue(s)

If applicable, please link to any related issues (Closes #123,
Closes wger-project/other-repo#123, See also #123, etc.)

Please check that the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Set a 100 character limit in your editor/IDE to avoid white space diffs in the PR
    (run dart format .)
  • Updated/added relevant documentation (doc ccomments with ///).
  • Added relevant reviewers.

@kiingxo
Copy link
Author

kiingxo commented Jul 17, 2025

Hi, this PR fixes the end date picker issue. Kindly review when you have time. 🙏

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.

1 participant