Skip to content

Commit

Permalink
Merge pull request #404 from akash70629/calender2
Browse files Browse the repository at this point in the history
🛠️Fix : Calendar Date Validation: Allows Selection of Past Dates
  • Loading branch information
dhairyagothi authored Oct 23, 2024
2 parents 28204f6 + 0f56630 commit c6ae500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/Pages/booking.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ const BookingPage = () => {
onChange={(date) =>
setFormData({ ...formData, bookingDate: date })
}
minDate={minDate} // Setting minimum date to today
className="w-full px-4 py-2 mt-2 transition duration-200 border border-blue-300 rounded-lg focus:ring-2 focus:ring-blue-400 outline-none"
/>

Expand Down

0 comments on commit c6ae500

Please sign in to comment.