cletourneau / angular-bootstrap-datepicker

Apache License 2.0
35 stars 56 forks source link

Doesn't correctly set date when input blank Angular 1.2.4 #2

Open calebwoods opened 10 years ago

calebwoods commented 10 years ago

I have JSFiddle that shows this issue http://jsfiddle.net/9wmDp/.

The issue is that when the input is empty and you select any date other current date then the date in the input is set to the current date.

For example if today is 2014-01-13 and I select 2014-01-16 from the datepicker then the input is updated with 2014-01-13 instead of the proper value of 2014-01-16.

chalasr commented 8 years ago

+1