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

Year input value changes unexpectedly on pressing Enter. #221

Open
minamz opened this issue May 1, 2024 · 0 comments
Open

Year input value changes unexpectedly on pressing Enter. #221

minamz opened this issue May 1, 2024 · 0 comments

Comments

@minamz
Copy link

minamz commented May 1, 2024

This is happening with datepickers we use with locale: Japanese, and using dateFormat "Y年m月d日".
We are continuing investigation to find if issue is on our side but not yet found the reason.

To reproduce

  • open datepicker and change MONTH dropdown ; select any other MONTH (other than January)
  • hit Enter
  • the YEAR changes to an unexpected value.

Basically anytime a MONTH is selected and press Enter, the year input value changes to undesired values; with the exception of January (which doesn't reproduce the behavior.)

Please see below animation:
flatpickerYearWeird

Also noticed the pattern
January -> no change of year
Feb -> year changes to 1901
March -> 1902
April -> 1903
May -> 1904
etc.

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