I have a materialize date picker which allows me to select between 10 days in current date.
But i want to select between 16/05/2016, 19/05/2016 dates and other dates will be disabled on the date picker (user cannot select other dates).
My Materialize Date Picker Code :
$('.datepicker').pickadate({
selectMonths: true, // Creates a dropdown to control month
selectYears: 10, // Creates a dropdown of 10 years to control year
format: 'dd/mm/yyyy',
min: -10,
max: true,
closeOnSelect: true,
closeOnClear: true,
});