You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set my date in my controller with date = new Date() and set date-format="MM/dd/yyyy", but when the page renders the first time, the value in the input box is not formatted at all.
The date doesn't get formatted until I select a date from the datepicker-popup.
Thank you for taking the time to report this issue. This problem is caused by a non backwards compatible change in angularjs-1.3.0 rc0, which assigns a string representation of a model object to ngModel.$viewValue variable. You can find more information at angular-ui/bootstrap#2659 Until the issue is fixed, please consider the current stable version of angularjs (1.2)
I set my date in my controller with
date = new Date()
and setdate-format="MM/dd/yyyy"
, but when the page renders the first time, the value in the input box is not formatted at all.The date doesn't get formatted until I select a date from the datepicker-popup.
See this plnkr --> http://plnkr.co/edit/M1AEtBhLxMIvuw6nNv4v?p=preview
The text was updated successfully, but these errors were encountered: