Start time can be after end time when start and end day are the same
Opened this issue · 0 comments
Deleted user commented
Describe the bug
When using range
and the start date is on the same day as the end date, the time picker allows to select a time on the start date that is after the time of the end date.
To Reproduce
Steps to reproduce the behavior:
- Create a datetimepicker component
- Set the
range=true
prop - Set a start & end date on a same day
- Open the time selector
- It is now possible to set the start time after the end time
Expected behavior
It should not be possible to select a start time on the same day as the end day that is after the end time.
Desktop (please complete the following information):
- OS: macOs 12.2.1
- Browser: Google Chrome
- Version: 98.0.4758.102 (Official Build) (x86_64)
Additional context
n/a