Open VetsImaging opened 6 months ago
This bug is reproducible by using the pop-up calendar provided. The calendar date selector will not allow date entry of the same date in the start and end date fields: Version number: 3.8.0-beta.47 Commit hash: df2f50748e98283db458b0cb2fb20931d536b161 Tested on a mac (sonoma 14) + chrome browser (v120)
Steps to reproduce:
From the study list, select the Study Date - Start Date field = the calendar pop-up will display
Select a start date from the calendar that you know a study exists (ex: May-11-2023) = the start date populates
Focus is now on the end date field and the calendar pop is displayed with focus on May 11, 2023 = the same date as the start date
However, I cannot select that date to have it auto-entered into the end date field. When I select May 11, the date is highlighted in dark blue, the next day May 12 becomes highlighted in light blue as a suggested date. I do not select that and nothing happens. Selecting May 11 (dark blue date) does not do anything
With the above said I can however manually edit the end date to be the same as the start date:
@IbrahimCSAE take a look at this one https://ui.shadcn.com/docs/components/date-picker
@IbrahimCSAE can you check if the new design support this? thanks
Describe the Bug
Now, I am using v3.7.0 (release) on my local Windows11. On the study list screen, the start date and end date cannot be set on the same day on the calendar. We need to choose 2 days at least, although we want to choose only 1 day. If we click "Today" button, we can choose 1 day, but it should be only today. We can't choose past 1 day.
Steps to Reproduce
The current behavior
On the study list screen, the start date and end date cannot be set on the same day on the calendar. We need to choose 2 days at least, although we want to choose only 1 day. If we click "Today" button, we can choose 1 day, but it should be only today. We can't choose past 1 day.
The expected behavior
On the study list screen, the start date and end date be able to set on the same day on the calendar. We should choose past 1 day.
OS
Windows11 pro
Node version
node v16.20.0 , yarn v1.22.19
Browser
Chrome120.0.6099.130