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

Datepicker doesn't work with ng-required and custom format #4688

Closed
skalamichal opened this issue Oct 22, 2015 · 1 comment
Closed

Datepicker doesn't work with ng-required and custom format #4688

skalamichal opened this issue Oct 22, 2015 · 1 comment

Comments

@skalamichal
Copy link

After upgrading to ui-bootstrap 0.14.2 I noticed that uib-datepicker-popup doesn't work correctly, when using ng-required with custom date format in uib-datepicker-popup="MM/dd/yyyy" (for example). The date value is set in the controller, when app is run.

Please see following plunks, with correct behavior (ui-bootstrap version 0.13.4):
http://embed.plnkr.co/QpdKLwXfcBBcpRW414BY/preview
And incorrect (ui-bootstrap version 0.14.2):
http://embed.plnkr.co/l7DtCL1dw3YhofCPtO38/preview

  • angular: 1.3.20
  • ui-bootstrap: 0.13.4 and 0.14.2
  • bootstrap: 3.3.5

Michal

@RobJacobs
Copy link
Contributor

This is a duplicate of issues #4678, #4616, #4607, etc... and is fixed under PR #4635. Please search both open and closed issues before opening a new one.

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

No branches or pull requests

2 participants