Range #72

shadyonline opened this Issue Apr 28, 2016 · 1 comment


None yet

2 participants


How to make value in next timepicker input => previous timepicker?

wvega commented Apr 28, 2016

Hi @shadyonline, this demo restricts the selected entry time in the next time picker to be greater than the value selected in the previous one: http://jsfiddle.net/wvega/A9cE6/embedded/.

This is the part of the code I think you are interested in:

    .timepicker('setTime', '11:40a')
    .timepicker('option', 'change', function(time) {
        // update startTime option in timepicker-2
        $('#tp2').timepicker('option', 'minTime', time);
@wvega wvega added the question label Apr 28, 2016
@wvega wvega added this to the Support milestone Apr 28, 2016
@wvega wvega self-assigned this Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment