Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time is reset if minTime is provided #5293

Open
ionh opened this issue Dec 27, 2024 · 1 comment
Open

time is reset if minTime is provided #5293

ionh opened this issue Dec 27, 2024 · 1 comment

Comments

@ionh
Copy link

ionh commented Dec 27, 2024

Describe the bug
When minTime is provided and the date is changed, time is automatically set to minTime

To Reproduce
Steps to reproduce the behavior:

  1. Open datepicker with time and date selection enabled (for example: minTime 12:00, maxTime 20:00)
  2. Select time 13:00
  3. Change date
  4. Time is automatically reset to minTime 12:00

Expected behavior
When the date is changed time should remain as previously selected.

@balajis-qb
Copy link

Hi @ionh ,

I think this time reset was intentional. Not sure why they're doing, but the time reset was intentional.

image

@martijnrusschen, I need your suggestion regarding this ticket. As I mentioned in the above screenshot, the commit was added just for this min time reset. But in the commit message I couldn't find any ticket details or the issue related information to find any alternative solution for the issue. Can you please share the details of the issue mentioned in the above screenshot. Here is the commit id detail - a672518

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants