How do I hide the calendar after a date is selected? Is there a specific function that I can use? My code below:
$(\'#dp1\').datepicker({ format: \'mm-d
bootstrap-datepicker.js
var defaults = $.fn.datepicker.defaults
autoclose: true
Save and refresh your project and this should do.