I use pickstrap datetime picker, when we click on the calendar icon, the current dete retrieves to my corresponding input.
Can this be avoided? because I donβt want the current date to be retrieved by default, it should only be selected by the user.
In principle, the calendar should open, but I do not need the default values ββfor input.
Rfer: http://jsfiddle.net/m2fjw57b/45/
HTML:
<div class="input-group date" id='date'>
<input type='text' class="form-control" />
<span class="input-group-addon">
<span class="fa fa-calendar"></span>
</span>
</div>
JS:
$(document).ready(function () {
$('#date').datetimepicker({
});
});
source
share