title: Jquery Datepicker can't go to previous month when mindate is set
body: <p>Is the title says, if I set <code>MiDate: &quot;+4D&quot;</code> and if that day is in the next month for example:
  Today is 28.09 and + 4 days is 02.10. This way clicking on previous month arrow does nothing. It is restricted. This is how my js looks:</p>
  <pre><code>function dateFrom(date_from, date_to) {
          let todayDate = new Date()
          let numberOfDaysToAdd = 4
          todayDate.setDate(todayDate.getDate() + numberOfDaysToAdd); 
          $(date_from).datepicker({
              dateFormat: &quot;dd.mm.yy&quot;,
              prevText: 'letzter Monat',
              nextText: 'nächster Monat',
              minDate: &quot;+4d&quot;,
              onClose: function (selectedDate) {
                  var dateParts = selectedDate.split('.');
                  var result = new Date(dateParts[2] + '-' + dateParts[1] + '-' + dateParts[0]);
                  result.setDate(result.getDate() + 10);
                  $(date_to).datepicker(&quot;option&quot;, &quot;minDate&quot;, result);
                  $(date_to).datepicker(&quot;show&quot;);
              }
          })
          .datepicker({
              &quot;setDate&quot;: todayDate,
              'currentText': 'Check-in'
          })
      }
  </code></pre>
  <p>To reproduce the problem you can simply create a datepicker and add the <code>MinDate</code> property to overlap in the next month.</p>