jonthornton / jquery-timepicker

A javascript timepicker plugin for jQuery inspired by Google Calendar.
https://www.jonthornton.com/jquery-timepicker
MIT License
1.87k stars 645 forks source link

valudation on 00:00:00 value #429

Closed amerzur closed 8 years ago

amerzur commented 8 years ago

i need to insure the user will enter data inside time picker and not leving it 0's , i use knockoutjs to bind and set data inside the control , Kindly i would like to know if is there a build in validaiton to insure the time filled not left 00:00:00 if (jQuery().timepicker) { $('.timepicker-default').timepicker({ autoclose: true }); $('.timepicker-24').timepicker({ autoclose: true, minuteStep: 1, showSeconds: true, showMeridian: false }); }

jonthornton commented 8 years ago

jquery-timepicker doesn't have an autoclose option. I think you're looking for http://jdewit.github.io/bootstrap-timepicker/