Disable previous dates datapicker with bootstrap

0

Colleagues.

Through #, I implemented the datapicker on my system, however I 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']
});

Please note that disabling only the 06/06/2016 date. How would I disable the previous dates before the current date?

    
asked by anonymous 14.02.2016 / 00:48

1 answer

2

Try this:

$('#sandbox-container input').datepicker({ minDate: 0});

See working here: link

    
14.02.2016 / 00:51