Using jQueryUI's datepicker by default the click event on the date and datepicker close works.
How can I do this in the bootstrap datepicker ?
JS:
$('#data').datepicker({
format: 'dd/mm/yyyy',
language: 'pt-BR',
});
HTML:
<input id="data" class="form-control text-center" type="text">