Topic: Default Date Picker

How can you make the Default Date Picker to have a minDate and MaxDate?

Re: Default Date Picker

{ maxDate: '+1w' }

Re: Default Date Picker

Yes: https://jqueryui.com/datepicker/#min-max

  <script>
  $(function() {
    $( "#datepicker" ).datepicker({ minDate: -20, maxDate: "+1M +10D" });
  });
  </script>