Reputation: 907
I am currently using bootstrap datepicker and I believe by default the current date should be highlighted once the user opens the datepicker. As of the moment, there is no date highlighted when you open the datepicker for the first time. Please see attached photo.
Upvotes: 1
Views: 573
Reputation: 15603
Add this code:
$('#datePicker').datepicker({
todayHighlight: true
});
where #datePicker
is your field id replace with your field id.
Upvotes: 1
Reputation: 143
By default this option is disabled. See the option todayHighlight
Upvotes: 1