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

Can't change values once initialized

Open abhijeetahuja opened this issue 8 years ago • 0 comments

I have to change stepInterval, minDate, hourMax dynamically, but not able to override the initial values.

I have tried

$('#time').datetimepicker("option", "stepMinute", 30 ); $('#time').datetimepicker("option", "hourMax", 18 );

and also tried re-initializing this:

$('#time').datetimepicker({ timeFormat: "hh:mm tt", dateFormat: 'dd M yy', stepMinute: 30, hourMax: 17, minDate: new Date() });

abhijeetahuja avatar Nov 05 '16 08:11 abhijeetahuja