Open ferry77 opened 10 years ago
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.
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.
$('#startTime').timepicker('hideWidget');
works for me.
If i am using $('#startTime').timepicker('hideWidget') than timepicker can not edit time with arrow keys. Is there any other solution for this problem?
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?
@testjava03 are you using latest release of bootstrap-timepicker? We're at v0.5.1.
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