Skip to content

Event Creation Allows Past Dates Without Warning #595

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
Gagan-Ram opened this issue Mar 24, 2025 · 3 comments · May be fixed by #599
Open

Event Creation Allows Past Dates Without Warning #595

Gagan-Ram opened this issue Mar 24, 2025 · 3 comments · May be fixed by #599

Comments

@Gagan-Ram
Copy link
Contributor

Bug Description:
Currently, users can create an event with a date set in the past without receiving any warnings or errors.

Expected Behavior:
The system should prevent event creation with a past date.

Proposed Solution:

  • On the frontend, display a warning and prevent users from selecting past dates using JavaScript.
  • Validate the date on the backend, and return an error if a past date is submitted.
date_from_error.mp4
@Gagan-Ram
Copy link
Contributor Author

@hongquan is this something eventyay is meant to allow, or is it actually a bug? I'm a bit confused.

@hongquan
Copy link
Member

I think it is a bug. Please go ahead with fixing it.

@Gagan-Ram
Copy link
Contributor Author

Ok, I'll look into it.

Gagan-Ram added a commit to Gagan-Ram/eventyay-tickets that referenced this issue Mar 30, 2025
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 a pull request may close this issue.

2 participants