To disable/not allow user to type-in invalid/junk characters in the year field.
I have raised an issue with flatpickr.js and they confirmed that this was a bug which its fixed a day ago and its pending release.
https://github.com/flatpickr/flatpickr/issues/1672
So want to understand that once flatpickr releases how and when it will be available in carbon datepicker?

Hi 馃憢 thank you for reporting! Once Flatpickr release a fix you can try creating a PR updating the version of Flatpickr dependency. Hope it clarifies things!
We've marked this issue as stale because there hasn't been any activity for a couple of weeks. If there's no further activity on this issue in the next three days then we'll close it. Thanks for your contributions.
Closing this issue! It is fixed via #2947! 馃帀