Skip to content
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

🛠️Fix : Calendar Date Validation: Allows Selection of Past Dates #1735

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

akash70629
Copy link
Contributor

Related Issue

“None”

Fixes: #1620

Description

This PR enhances the calendar validation functionality by ensuring that the selected date is today or in the future. The code sets the minimum date to today and prevents form submission if an invalid date is selected.

Calendar Validation Enhancements

  • Set Minimum Date to Today

  • Validate Date on Form Submission

Type of PR

  • Bug fix
  • Feature enhancement

Screenshots / videos (if applicable)

Before

image

After

image

Checklist:

  • I have made this change from my own.
  • My code follows the style guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have tested the changes thoroughly before submitting this pull request.
  • I have provided relevant issue numbers and screenshots after making the changes.

Copy link

vercel bot commented Oct 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
buddy-trail ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 29, 2024 5:26pm

Copy link
Contributor

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our contributing.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

netlify bot commented Oct 28, 2024

Deploy Preview for buddytrail ready!

Name Link
🔨 Latest commit d20ddeb
🔍 Latest deploy log https://app.netlify.com/sites/buddytrail/deploys/67211aa3f763b50008af6b69
😎 Deploy Preview https://deploy-preview-1735--buddytrail.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@akash70629
Copy link
Contributor Author

@PriyaGhosal please review it and merge it.

@akash70629
Copy link
Contributor Author

@PriyaGhosal, could you please review and merge this PR urgently? The GSSOC deadline is approaching soon. I'd appreciate it if you could expedite the process, especially since this PR was previously merged and then reverted due to unforeseen reasons .

@akash70629
Copy link
Contributor Author

@

@PriyaGhosal, could you please review and merge this PR urgently? The GSSOC deadline is approaching soon. I'd appreciate it if you could expedite the process, especially since this PR was previously merged and then reverted due to unforeseen reasons .

@PriyaGhosal !!!!!! are you there ?!!

@samarth-6 samarth-6 merged commit d97fd5a into PriyaGhosal:main Oct 29, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛BUG: Calendar Date Validation: Allows Selection of Past Dates
2 participants