0

I am using tempusdominos jquery plugin and i am trying to use the minDate and maxDate feature to link 2 time pickers. I can set these values, but it seems impossible to clear these values. I tried :

 $('#datetimepicker6').datetimepicker({
    minDate: false
  });

and

$('#datetimepicker6').datetimepicker({
        minDate: null
      });

sample

4

2 回答 2

1

I think you need to do it like this:

$('#datetimepicker6').datetimepicker('minDate', null);
于 2018-06-26T13:54:46.857 回答
0

I was struggling with the same issue. Setting false like this worked for me: $('#datetimepicker6').datetimepicker('minDate', false);

于 2019-12-05T09:50:55.100 回答