bootstrap-timepicker icon indicating copy to clipboard operation
bootstrap-timepicker copied to clipboard

time picker widget won't close

Open ferry77 opened this issue 10 years ago • 6 comments

if I have 2 textbox, say

and make it timepicker by using this script

$('.timepicker').timepicker();

when I play with the textbox clicking between the two element, it will show 2 timepicker widget.. then after I change the value on the 1st timepicker using UP or DOWN arrow.. the 2nd widget close, but when I click the 2nd textbox to bring up the widget again, then change value, the issue come up because the 1st timepicker widget won't close.

is anyone experiencing like this?

thanks for your help

ferry77 avatar Dec 03 '13 16:12 ferry77

I have similar issue: I want to create a datetime range using 2 bootstrap datepickers and 2 bootstrap timepickers, but I can't manage do close the dropdowns unless I click somewhere that are not a timepick nor a datepick.

8496tar avatar Dec 06 '13 19:12 8496tar

The widget does not even close if we TAB to another field, even with just one time picker in the form. This is an issue for some of my users. I'll have a look to see if I can fix it. Maybe it will solve the issue described above.

frahugo avatar Jan 22 '14 23:01 frahugo

$('#startTime').timepicker('hideWidget');

works for me.

ganySA avatar Jun 16 '14 19:06 ganySA

If i am using $('#startTime').timepicker('hideWidget') than timepicker can not edit time with arrow keys. Is there any other solution for this problem?

jyotiverma0310 avatar Sep 04 '15 10:09 jyotiverma0310

Can you please paste a snippet of your code (HTML and JS) at https://jsfiddle.net/, so we can take a better look at what's going on?

mmarchini avatar Sep 04 '15 14:09 mmarchini

@testjava03 are you using latest release of bootstrap-timepicker? We're at v0.5.1.

mrhota avatar Oct 17 '15 15:10 mrhota