angular-ui / bootstrap

PLEASE READ THE PROJECT STATUS BELOW. Native AngularJS (Angular) directives for Bootstrap. Smaller footprint (20kB gzipped), no 3rd party JS dependencies (jQuery, bootstrap JS) required. Please read the README.md file before submitting an issue!
http://angular-ui.github.io/bootstrap/
MIT License
14.29k stars 6.73k forks source link

Cannot select string date from datepicker popup template #6460

Closed mbursill closed 7 years ago

mbursill commented 7 years ago

Bug description:

Cannot select a string date from a datepicker popup template.

Link to minimally-working plunker that reproduces the issue:

https://plnkr.co/edit/I7nTVnaDRMmcbeFEEzw7?p=preview

Steps to reproduce the issue:

Create a custom datepicker popup template and from within it try to call select('9999-01-01', $event)

Version of Angular, UIBS, and Bootstrap

Angular: 1.6.1 UIBS: 2.5 Bootstrap: 3.3.7

wesleycho commented 7 years ago

String dates are not supported - see documentation here