Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateInput/DatePicker with allowCaretMode set to true and format="d/M/y" does not allow to input a multi-digit year #4586

Open
georgi-sla opened this issue Apr 3, 2025 · 0 comments

Comments

@georgi-sla
Copy link
Contributor

Description

Currently, when the format property of the DateInput is set to "d/M/y", allowCaretMode is enabled, and the user enters a single-digit day and month, entering a multi-digit year in the component is not possible.

Steps To Reproduce

  1. Create a DateInput component.
  2. Set the allowCaretMode to true.
  3. Set the format to "d/M/y".
  4. Enter one digit for day and month.
  5. Try entering a multi-digit year.

Please, check out the following StackBlitz demo: https://stackblitz.com/edit/angular-zwfs95xr

Screenshots or video

No response

Actual Behavior

When allowCaretMode is enabled and the format is set to "d/M/y", the user cannot enter a multi-digit year when the day and month are single digits.

Expected Behavior

The user should be able to enter a multi-digit year regardless of the setting of the allowCaretMode and format properties as well as the values for the day and month.

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

@georgi-sla georgi-sla changed the title DateInput with allowCaretMode set to true and format="d/M/y" does not allow to input a multi-digit year DateInput/DatePicker with allowCaretMode set to true and format="d/M/y" does not allow to input a multi-digit year Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant