Skip to content

Year input value changes unexpectedly on pressing Enter. #221

@minamz

Description

@minamz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions