title: flatpickr maxDate configuration
body: <p>How to set maxDate in flatpickr?</p>
  
  <pre><code>&lt;input type="text" id="date-picker" class="form-control" data-toggle="date" placeholder="Select date"&gt;
  
  $("#date-picker").flatpickr("minDate", "2019-7-12");
  </code></pre>
  
  <p>But it is not working.</p>