Skip to content

Cannot enter a two-digit value in the day segment after pressing Backspace when autoCorrectParts is false #4963

Description

@mbechev

Description

When autoCorrectParts is set to false (its default value is true), entering a two-digit day fails on the second attempt.

For example, in an empty DateInput, entering 26 correctly results in the 26th day. However, if the value is then cleared and you attempt to enter 26 again, the component no longer accepts it as a two-digit day. Instead, it interprets the input as 02/06:

Screen.Recording.2026-06-26.at.16.14.06.mov

Steps To Reproduce

  1. Add a DateInput with [format]="'dd.MM.yyyy'" and [autoCorrectParts]="false".
  2. Set a date value so the component shows e.g. "26/06/2026".
  3. Press Backspace — date is cleared to the placeholder "dd/MM/yyyy".
  4. Try to insert the same date. It wull result in 02/06/2026.
    https://stackblitz.com/edit/angular-gzvptqbt

Screenshots or video

No response

Actual Behavior

Valid date cannot be inserted when autoCorrectParts is false.

Expected Behavior

Valid dates should be able to be inserted in the date input.

Browser

Chrome

Browser version

latest

OS type

MacOS

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions