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

Angular 1.3: Datepicker 'datepicker-popup' formatter attribute not applied on initial value. #2829

Closed
mtraynham opened this issue Oct 14, 2014 · 3 comments

Comments

@mtraynham
Copy link

Might have to do with changes to Angular's $interpolate function.
https://github.com/angular-ui/bootstrap/blob/master/src/datepicker/datepicker.js#L30

@pkozlowski-opensource
Copy link
Member

@mtraynham we will need a minimal reproduction scenario to make this one actionable:
https://github.com/angular-ui/bootstrap/blob/master/CONTRIBUTING.md#you-think-youve-found-a-bug

@mtraynham
Copy link
Author

Thanks for the info @pkozlowski-opensource. Here is the info:
Angular JS 1.3.0
Angular-UI-Bootstrap 0.11.2
http://jsfiddle.net/q5jt1707/

It seems the initial render is what's wrong. After you pick an item from the datapicker popup, it renders correctly.

@mtraynham mtraynham changed the title Datepicker 'datepicker-popup' formatter attribute not working in Angular 1.3 Angular 1.3: Datepicker 'datepicker-popup' formatter attribute not applied on initial value. Oct 14, 2014
@mtraynham
Copy link
Author

Seems I have found and created a duplicate of Bug #2659. Closing this, but hoping that the other is not stuck on the backlog for long...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants