Closed Emilysta closed 9 months ago
Hi @Emilysta thanks for reporting. This is basically related to #58. I'm closing this as a dupe.
@Emilysta by the way if you could tell me how you think the input at the bottom behaves in this blitz, it would help.
https://stackblitz.com/edit/ts-angular-13-web-container-starter
Describe the bug Assume a timepicker with
[enableKeyboardInput]="true"
set. In the hour input, when cursor is moved to the beginning and current value of input is 00, 01 or 02 [for 24h picker] when someone tries to enter e.g. 1, input value changes toInvalid DateTime
. In the minutes input, when cursor is moved to the beginning and current value of input is 00, 01, 02, 03, 04, 05 when someone tries to enter e.g. 1, input value changes toInvalid DateTime
.To Reproduce
Steps to reproduce the behavior:
Invalid DateTime
Expected behavior Block user input, as in the rest of cases (e.g. 04 for hours in 12h mode)
Screenshots Ad 2. Ad 3. Ad 4. Ad 6.
Desktop:
**Versions
Additional context Seems like for 12h picker and hours input the problem is with entering values: 1 and 2. Seems like for 24h picker and hours input the problem is with entering values: 1,2 and 3. Seems like for minutes input the problem is with entering values: 1-9.