Date Picker Limit Offset Bug?
-
Hi. I have two date pickers on a form, as a calendar type – a start date and an end date. For the end date, I have a limit set for +14 days from the start date. If I pick an end date that is at least 14 days after the start date, this validates as expected when attempting to submit the form, but the end date calendar actually lets me pick the day before (+13 days), which does fail the validation upon submit, but the first 12 days are blocked from the calendar, so it seems like an oversight that the 13th day is not also blocked.
For example, in my screenshots, my start date is Dec 1 and the soonest my end date is allowed to be is Dec 14. However, I can choose Dec 13 but it fails upon submitting. If I choose Dec 14, validation passes as expected.
- You must be logged in to reply to this topic.