Skip to content

ng-model variable is set to undefined after initialization #27

Description

@soufi

Hi,

First of all thank you for this directive that simplifies the use of bootstrap datetimepicker.

I noticed that after the initialization of datetimepicker using ng-model, the binded scope variable is set to undefined. This is causing problems when reinitializing directive the second time (when using ng-if on the directive for example).

Do you have any clean work-around ? I am using DOM to catch show event and initialize my scope variable .. ugly ...

Thank you.

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