Angular datepicker month selection bug


Topic: Angular datepicker month selection bug

TheShoosh pro asked 7 months ago

Expected behavior
When changing the year, the month label should stay on current month

Actual behavior
When changing the year, the month label changes to "January". However this does not actually set the underlying month to January.

Additionally, if you change the month manually, it changes the underlying month value but the label remains on "January".

Resources (screenshots, code snippets etc.)

You can see this behaviour in your own examples, found here:
https://ng-demo.mdbootstrap.com/forms/datepicker


Arkadiusz Idzikowski staff commented 7 months ago

This problem was fixed in the v9.4.0 update. Do you use the latest version?


TheShoosh pro commented 7 months ago

Thank you. I just updated and the issue is fixed. My apologies - I updated the package only a few weeks ago so thought I was already on the latest build.


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Angular
  • MDB Version: 9.4.0
  • Device: Computer
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: Yes