bootstrap-timepicker
bootstrap-timepicker copied to clipboard
Timepicker doesn't work correctly when time is changed by keying in the input
- In the demo page - http://jdewit.github.io/bootstrap-timepicker/ change minutes by keying in the value (instead of using arrow keys). For example, if the initial value is 4:00 PM, after changing the minute value it would be say 4:33 PM.
- Use the right arrow key to highlight PM.
- Use the up/down arrow key to change it to AM.
Notice the value of minutes, it gets reset to '00'.
Any update on this? This is blocking the progress of the project that I'm working on.
No, sorry. I am too busy with other projects at the moment.
Same issue here. Could you fix it?
Any update on this? I'm also experiencing an issue with this scenario:
- minute value = 12 with minuteStep = 5
- Clicked on arrow down. This will give me 07, then 02 after clicking it again.
- Clicked on arrow up. This will give me 10, then after clicking it again will give me 15.
Why did it changed to the nearest multiple after clicking arrow up instead of
current value + minuteStep
We noticed this issue gets fixed by #217. Entering numbers (from above Qwerty) works fine un-patched. With the patch entering numpad numbers works correctly where before it was not.
The demo page is currently a bit... broken. I tried updating it to bootstrap 3, and the demo markup needs to be changed a bit.
Please take a look at the recent release (v0.5.1), and let me know if the problem still exists.
@mrhota - What change did you make? Can you post the code here please
@gameboyzone What are you asking? If you want to know what changed in v0.5.1, that's what Git is for.
Hello @mrhota,
In your above comment, you mentioned (see quotes) - The demo page is currently a bit... broken. I tried updating it to bootstrap 3, and the "demo markup needs to be changed a bit."
With reference to above, I'm having issues trying to set values in the Timepicker using setTime and also trying to figure out if there an event method to detect when the time changes. I have Bootstrap 3 in my framework. So if you have changed the demo code to make it work, would you mind putting the examples here.