When we start entering the year first in Angular2 DatePicker component, the picker is displayed the entered value decreased with 1.For example, if I enter 2, 1 is displayed.
3 Answers, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 26 Jul 2017, 12:24 PM
Hello Nikolay,
Indeed, the component incorrectly accepts typed year when format starts with 'yyyy'. The issue is logged in our Github repo.
We will update it once the issue is fixed. Its priority is high, hence it should be addressed soon. I would suggest you subscribe to the thread to be notified when any changes are done.
This is still an issue for us and can also be reproduced in the datepicker example Plunker by setting [format]="'MM/dd/yyyy'" and public value: Date = null;. Clicking on the "yyyy" and pressing 2 sets the year to 1.
I hope a fix is coming soon for "yyyy-MM-dd" as we need a reliable datepicker ASAP in one of our applications.
Any E.T.A. for a fixed version?
0
Georgi Krustev
Telerik team
answered on 27 Oct 2017, 02:32 PM
Hello Fredrik,
The bug was just fixed and is under review right now. Most probably it and several other improvements of DateInputs package will be released under @dev tag early next week. Follow the Github issue, as it will be updated right after publishing the DEV release.