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

model value not bind with datepicker  #148

Description

@jsmrugank

I am having problem with binding ng-model value with ui-date date-picker.
below screen shot is for displaying date in a particular format using this code:

{{scorecardData.mdp1.start |date:'dd/MM/yyyy'}}

changeviz - development environment 2015-12-19 16-09-21

While editing date :

changeviz - development environment 2015-12-19 16-10-09

where,
$scope.scorecardData.mdp1.start = "2015-12-17T18:30:00.000Z"
$scope.dateOptions = { //--> DATE FORMAT
changeYear: true,
changeMonth: true,
yearRange: '2015:2030',
dateFormat: 'dd-mm-yyyy'
};
I've also used ui-date-format="dd-mm-yyyy" . but it didn't work.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions