clockpicker icon indicating copy to clipboard operation
clockpicker copied to clipboard

Is there a way to allow the user to only select hours?

Open markc4321 opened this issue 8 years ago • 1 comments

Is there a way to allow the user to only select hours? And have it auto close like it does when minutes are selected?

markc4321 avatar Nov 16 '16 15:11 markc4321

I use code like this

 var elem = $('#myinput');
 var c = elem.clockpicker({
 	afterHourSelect: function(){
    	c.data('clockpicker').done();
    }
 });

jsfiddle

nnttoo avatar Feb 16 '19 09:02 nnttoo