Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bug: DayPickerInput, changing month in captionElement with selected value will be ignored #425
To reproduce the error, in DayPickerInput select any day and after change month or year by selecting it in captionElement - month and year will remain unchanged.
The problem is in getStateFromProps function: