Datepicker - Input value set to:startDate after $http.post
I just had an issue with the datepicker. I have the datepicker set in an input element. I send this and other values via $http.post. When the http promise is resolved the datepicker input value is set to beginDate. Have anyone experienced the same situation?
Hi thetom88 I am having exactly the same issue. Have you got it working already? Do you have any solution?
Thanks Vishal
No, unfortunately I haven't found any solution. I'm not so experienced with angular.
2013/11/9 Vishal [email protected]
Hi thetom88 I am having exactly the same issue. Have you got it working already? Do you have any solution?
Thanks Vishal
— Reply to this email directly or view it on GitHubhttps://github.com/mgcrea/angular-strap/issues/287#issuecomment-28110596 .
I am having the same issue. I believe it is not Parsing the date that is returned properly.
Unfortunately I had to move to another datepicker because this was making me waste a lot of time. I'll investigate this problem as soon as I'll be able to. I really like this datepicker...
2013/11/11 ocomsoft [email protected]
I am having the same issue. I believe it is not Parsing the date that is returned properly.
— Reply to this email directly or view it on GitHubhttps://github.com/mgcrea/angular-strap/issues/287#issuecomment-28245529 .
I agree. We recently discovered if you turn your scope var to a proper Date object before you use it the the picker works with it.
The AngularStrapv2.0.0-beta has been released with a new version of this plugin. The former version is now both deprecated and unsupported.
Please try to reproduce your issue against the master branch.
Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.