Disable previous datapicker dates with bootstrap

Asked

Viewed 2,610 times

0

Colleagues.

Across of the site, I implemented the datapicker in my system, but would like to disable the previous dates of the current date. By their model, it presents the following form:

$('#sandbox-container input').datepicker({
    autoclose: true,
    datesDisabled: ['02/06/2016']
});

Note that disable only the date 02/06/2016. How I would disable previous dates before the current date?

1 answer

2


  • Right... we can also use startDate: "date", but still thank you for your help Berriel

  • 1

    @Mark true, it is also possible...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.