ngx-material-timepicker
ngx-material-timepicker copied to clipboard
Validation MIN not working for HOURS ngx-timepicker-field
Hi, validation MIN not working for HOURS ngx-timepicker-field. I set validation in MIN '10:30'. When i put arrow down in ngx-timepicker-field for hour i get error and can change hour. I change hour from 10 to 09.
For minutes work all correctly, i can not change to invalid minute. Example from 30 to 29. How can i fix it?
Add info. MIN not work for 24 format.
I will check
Do you fix a problem? I can help and fix it and you check my pull request.
@DenSmolonski It would appritiate you help, cause I'm a bit run out of time
@Agranom @DenSmolonski is this fixed?
Hi, I have the same problem with the min. And also, I cannot edit the minutes with keyboard entries when there is a min specified in the field.
same problem with min and max in 24h format
OK, i guess I found the bug. It in the file "ngx-timepicker-field.component.ts" line 147. Your calling the isChangePeriodDisabled only for 12 hour format. You just need to delete the "if" in line 147 and it will work fine for 24 hour format.
That should also solve issue https://github.com/Agranom/ngx-material-timepicker/issues/369
Would be great if you could fix that asap. Thanks!
Hello, i have same problem, ¿can you solve it asap, please? Thanks :)
The issue is fixed. Pls update to the latest version