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

range time

Open fyher opened this issue 7 years ago • 1 comments

it's possible tu limit te liste oh hour ? for example I want just to list to 7 at 22 ? and not 0 to 24

thanks

fyher avatar Feb 09 '18 07:02 fyher

I can't really understand your question, but if you are trying to allow only a selection between two times, use it like this: $('.timepicker').timepicker({ minuteStep: 30, icons: { up: 'mdi mdi-chevron-up', down: 'mdi mdi-chevron-down' } }).on('changeTime.timepicker', function(e) { if(e.time.value >= "12:00 AM"){ alert("Event must end before end of the day. "); } });

charlotteoswald avatar Oct 08 '18 19:10 charlotteoswald