Ratnesh-Team / Rehabify

The Path to a Brighter Tomorrow "
https://rehabify.ratn.tech
MIT License
18 stars 45 forks source link

BUG : Prevent Selection of Past Dates in Appointment Booking #143

Open Titus210 opened 1 month ago

Titus210 commented 1 month ago

Issue: Prevent Selection of Past Dates in Appointment Booking

Description: Users should not be able to select or book appointments for dates that have already passed. The date picker must restrict selection to today’s date and future dates only to ensure valid appointment scheduling.

Tasks:

Frontend:

Implement a min-date restriction on the date picker to disallow past dates. Display a message like: “You cannot select a past date” if the user attempts manual input.

ratnesh-maurya commented 4 weeks ago

sure , go ahead