smDateTimeRangePicker
smDateTimeRangePicker copied to clipboard
close-on-select : picker do not return date in the correct format
When you chose "close-on-select", picker do not return in the correct format.
This is the plunker url for demo where I have produced the issue. Please & resolve this issue. http://plnkr.co/edit/P94pfjosot1gOxcwp1Ui?p=preview
I've got the same issue. Maybe the popup has been closed without executing some callbacks, I guess. Please take a look.
This line https://github.com/mominsamir/smDateTimeRangePicker/blob/master/src/picker.js#L268 seems to be the defect cause of this issue.
No need to set model value again after executing callback self.$scope.dateSelectCall({date:d});
Comment it out works for me :laughing:
I had the same issue but with mode="date" and after selecting a date choose cancel you get the wrong format.
@duykhanh21 , Commenting this line won't work for me. Can you please provide me more settings you choose.
@mominsamir , bro do you even reply?
Can anybody please help me?