title: How to prevent entry of a disabled date in bootstrap-datepicker
body: <p>I am running uxsolutions / bootstrap-datepicker (<a href="https://github.com/uxsolutions/bootstrap-datepicker" rel="nofollow noreferrer">https://github.com/uxsolutions/bootstrap-datepicker</a>).</p>
  
  <p>I have disabled dates in the popup calendar widget just fine (see code below). Yet in the date's textbox, I can enter a disabled date (screen shot below).</p>
  
  <p>How can I get the date box to recognize disabled dates and prevent them from being able to be input?</p>
  
  <pre><code>  $('#eventDate-container .input-group.date').datepicker({
      weekStart: 1, // calendar starts on Monday
      autoclose: true,
      todayHighlight: true,
      startDate: "4/10/2017", // disables all dates prior to this date
      datesDisabled: ['01/01/1970', '12/31/2099'] // placeholder sample for possible future use
    });
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/NbqiB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NbqiB.png" alt="enter image description here"></a></p>