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

mediumkuriboh
  • 57
  • 1
  • 10

2 Answers2

1

I think you need to do it like this:

$('#datetimepicker6').datetimepicker('minDate', null);
TheRealPapa
  • 4,393
  • 8
  • 71
  • 155
0

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

Vojte
  • 1
  • 1