angular-bootstrap-datetimepicker-directive
angular-bootstrap-datetimepicker-directive copied to clipboard
defaultDate option is not working
Hello,
I'm trying to display a default date when the input is first time displayed, but apparently that option is not taken into consideration.
<input type="text" class="form-control input-sm" datetimepicker ng-model="date.startDate" datetimepicker-options="{ defaultDate: '11/1/2013', format:'M/D/YYYY h:mm a' }" placeholder="...">
expected result: the input should show '11/1/2013' value actual behavior: the input shows '...'
Can you please advise @diosney, maybe I'm doing something wrong.
Thank you, Laurentiu
Hi, have you ever figured out how to set the default date?