jQuery-Timepicker-Addon icon indicating copy to clipboard operation
jQuery-Timepicker-Addon copied to clipboard

stepMinute can it be used when using drop downs?

Open Kunji opened this issue 9 years ago • 1 comments
trafficstars

The reason I'm asking is because at first glance it looks like you can but then it does not seem to work quite right. Instead of showing 00 and 30 as options it shows 00 and 030 as options. How do I get rid of the 0 before the 30?

Also I tried to set stepMinute to 5, 10 and 15 - on the drop down it seems to stop at whatever number is entered in to stepMinute and 10 and 15 have the 0 in front.

It would be nice if I could restrict choices in the minute drop down.

screen shot 2016-07-22 at 13 09 29

Kunji avatar Jul 22 '16 12:07 Kunji

I figured it out. I was putting stepMinute: '30' and that was causing the issue. Should be stepMinute: 30 (no quotes)

Kunji avatar Aug 10 '16 10:08 Kunji