Is there a way to show calendar when a user clicks on input as well? Right now I have to click on the calendar icon which will then show calendar.
HTML:
<div class='input-group date' id='datetimepicker1'>
<input type='text' class="form-control" />
<span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span>
</span>
</div>
JavaScript:
$(function() {
$('#datetimepicker1').datetimepicker();
});
Example: https://jsfiddle.net/8jpmkcr5/81/