Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

fix(datepicker) ng-model not working within another directive #808

@jbenowitz

Description

@jbenowitz

I have a custom directive in which my template refers to datepicker. Everything loads correctly, however it's not responding to an ng-model. For example, this code:

<datepicker ng-model="startDate" show-weeks="false" max="endDate">   </datepicker>
<input type="date" ng-model="startDate"></input>
{{startDate}}

When fiddling around with the datepicker, the {{startDate}} doesn't appear, however, changing the input, it does appear. Secondly, changing the input does not update the datepicker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions