Skip to content

defaultDate option is not working #34

Description

@lghiur

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions