When dateinput format is "d/M/y" and "allowCaretMode" is enabled, users are unable to enter valid dates. Tested with dateinput and datepicker components.
Steps to reproduce
- Setup a kendo-dateinput component with "allowCaretMode" set to "true" and the "format" set to "d/M/y" (see stackblitz below).
- Enter a valid single-digit day and valid single-digit month into the input.
- Try typing a year.
- Observe that only one character of the year can be entered and the input locks up, preventing the user from completing a valid date.
- Try typing a double digit month.
- Observe that only one character of the month can be entered and the input locks up.
- Try typing a double digit day.
- Observe that only one character of the day can be entered and the input locks up.
Stackblitz example - angular v22 + kendo v24
https://stackblitz.com/edit/angular-kendo-dateinput-bug-rdocwtvr
Expected Behaviour:
The user should be able to enter a full year, month, and day after typing a valid single-digit day and month.
Observed Behaviour:
After entering a single-digit day and month, the input locks up, preventing the user from typing more than one character for the year or month. This prevents users from entering valid dates, making the input unusable in this scenario.
Thanks