angular-ui/angular-ui-OLDREPO

ui-date-format doesn't display the model value

Closed this issue · 2 comments

When i trying to use the ui-date with ui-date-format applied,

the input associated to the ng-model doesn't display anything.

here is the plunk: http://plnkr.co/edit/ssjH3p?p=preview

Hi @ialtamirano
You were including the date directive twice! Once in the main angular-ui.js file and once with the date.js file.
This meant that two date-format $parsers were being attached to the ng-model for that input and the second time this parser was attached it blew up.
Here is a fixed Plnkr (removing the unnecessary date.js): http://plnkr.co/edit/NAVL3h?p=preview

now i see, thank you pete !