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

Problem with "last dates" #326

Open
MartinMilata opened this issue May 28, 2021 · 0 comments
Open

Problem with "last dates" #326

MartinMilata opened this issue May 28, 2021 · 0 comments

Comments

@MartinMilata
Copy link

Scenario

  1. In time 14:00 I will do render of DateTimeButtonRange where I will set min 13:00, max 14:00, selected from, and selected to, and callback
  2. User will 10min do nothing on page - no refresh, no render of DateTimeButtonRange
  3. After 10min user will open picker
    image
    and will click on last button 15min (it does not matter which)
  4. Datetime is counted from max 14:00 (which was set in render before 10min) - 15min = 13:45, but current time is 14:10 - 15min = 13:55
  5. I need to set max to current datetime - it is needed to do it when user open picker in point 3.
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

1 participant