angular-strap icon indicating copy to clipboard operation
angular-strap copied to clipboard

Datepicker - Input value set to:startDate after $http.post

Open thetom88 opened this issue 13 years ago • 7 comments

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?

thetom88 avatar Nov 04 '13 10:11 thetom88

Hi thetom88 I am having exactly the same issue. Have you got it working already? Do you have any solution?

Thanks Vishal

vnshah avatar Nov 09 '13 01:11 vnshah

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 .

thetom88 avatar Nov 11 '13 08:11 thetom88

I am having the same issue. I believe it is not Parsing the date that is returned properly.

ocomsoft avatar Nov 11 '13 22:11 ocomsoft

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 .

thetom88 avatar Nov 14 '13 08:11 thetom88

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.

ocomsoft avatar Nov 14 '13 08:11 ocomsoft

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!

mgcrea avatar Jan 20 '14 22:01 mgcrea

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.

lock[bot] avatar Jan 27 '19 04:01 lock[bot]