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

[HxInputDate] - Navigation in calendar with MinDate&MaxDate - previous month click skipped, next month returns to the first month #793

Open
jirikanda opened this issue Apr 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jirikanda
Copy link
Contributor

jirikanda commented Apr 22, 2024

  • HxInputDate value is limited by MinDate and MaxDate
  • Click on the next month
  • Click on the previous month
  • The selected month does not change (bug)
  • Click on the next month until the last month is selected.
  • Click on the next month, first month is selected (bug)

Note, the Value of the HxInputDate is out of the MinDate-MaxDate range.

2024-04-22_11h30_48.mp4
@hakenr
Copy link
Member

hakenr commented Apr 22, 2024

"Value of the HxInputDate is out of the MinDate-MaxDate range".
Lets resolve the #794 first (we might come to conclusion, that we should throw exception on invalid combination of parameters and this issue becomes obsolete then?)

@hakenr hakenr added the bug Something isn't working label Apr 22, 2024
@MBNSoftware
Copy link

To me, if #794 is resolved, then this one will become obsolete. Unless there's something else about this bug, of course :)

Since validation is on the end-user side, technically you would only need to change the month that is displayed according to previous/next buttons. Invalid months would be striked-through, indicating an out-of-bounds date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants