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

Validation is to fast. #4

Open
StanDEV1234340t98 opened this issue Feb 1, 2022 · 1 comment
Open

Validation is to fast. #4

StanDEV1234340t98 opened this issue Feb 1, 2022 · 1 comment

Comments

@StanDEV1234340t98
Copy link

TimepickerValidationStartTimepickerValidation

Hi Daniel Moncada,
I have a validation bug, as seen in the screenshot; when the end time is lower than the start time, the validation instantly changes the start time to the end time input. For instance I have 11:15 as start time and want to type with keyboard 15:15 for end time, the start time jumps to 01 because the "1" of "15" is lower than 11.

I think in the past with angular 7 I didn't have this issue, but when I have upgraded to angular 12 this happens. How can I delay the input validation? Or how can I solve this issue?

I'm using the current packages:
@angular/animations": "~12.2.14",
"@angular/cdk": "^12.2.13",
"@danielmoncada/angular-datetime-picker": "^13.1.1",
"@danielmoncada/angular-datetime-picker-moment-adapter": "^1.1.0",

code:
<owl-date-time
#dtPickerRef
[pickerType]="'timer'"
[hour12Timer] = false
[stepMinute]="15"

@huski1017
Copy link

@danielmoncada Is there any update on that subject?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants