title: Datepicker Materializecss disabled days function
body: <p>I'm working with datepicker from materializecss and I need to disabled all days unless the Monday, at other plugins  I used <code>'daysOfWeekDisabled'</code>
  parameter but in this case I must to use <code>disableDayFn: function(){}</code> and when I insert a parameter all calendar is disabled. Here is an example</p>
  
  <pre><code>$('#initCourse').datepicker({
          firstDay: 1,
          minDate: new Date(),
          format: "dd.mm.yyyy",
          disableDayFn: function(){
             return disabled = '0, 2, 3, 4, 5, 6'
          }
  });
  </code></pre>
  
  <p>Any idea? Thanks in advance</p>