dhairyagothi / StationGuide

Station Guide - your platform guide
https://stationguide.onrender.com/
MIT License
38 stars 89 forks source link

πŸ›BUG: Calendar Date Validation: Allows Selection of Past Dates in Coolie Booking section #399

Open akash70629 opened 3 hours ago

akash70629 commented 3 hours ago

🐞 Bug Report

Describe the bug

The calendar date validation in the Booking Page section's Coolie Booking's "Booking date" is not functioning correctly. Currently, users can select dates prior to the current date, which may lead to invalid or outdated submissions.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to Booking Page
  2. Click on Coolie Booking.
  3. Click on the calendar Booking date picker.
  4. Select a date earlier than today's date.
  5. Observe that the selection is accepted without any error or warning.

Expected behavior

The calendar date validation should restrict users from selecting dates prior to the current date.

Actual behavior

The calendar date is not restrict users from selecting dates prior to the current date.

Screenshots or Video

image

Environment

Please provide the following details:

github-actions[bot] commented 3 hours ago

Thank you for raising this issue! We'll look into it as soon as possible. Please ensure that the issue is not duplicate, and you read [CONTRIBUTING.md]() carefully. Your contributions are highly appreciated! 😊

akash70629 commented 3 hours ago

πŸ’₯πŸ’₯This issue is distinct from two related ones. Please review independently. Submitting separately ensures better code organization, maintainability, and clarity. @dhairyagothi

Please assign me this issue.