Entering 2 shows 1 in Angular2 DatePicker component

4 posts, 0 answers
  1. Nikolay
    Nikolay avatar
    2 posts
    Member since:
    Jun 2017

    Posted 25 Jul 2017 Link to this post

    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.
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3749 posts

    Posted 26 Jul 2017 Link to this post

    Hello Nikolay,

    Indeed, the component incorrectly accepts typed year when format starts with 'yyyy'. The issue is logged in our Github repo.

    https://github.com/telerik/kendo-angular/issues/764

    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.

    Regards,
    Georgi Krustev
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Fredrik
    Fredrik avatar
    9 posts
    Member since:
    Jan 2007

    Posted 26 Oct 2017 Link to this post

    Hello!

    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?

  4. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3749 posts

    Posted 27 Oct 2017 Link to this post

    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.

    Regards,
    Georgi Krustev
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top