ng-bs-daterangepicker
ng-bs-daterangepicker copied to clipboard
When selecting date I get in my input element text [object Object] instead of the actual date range
I believe issue is in line 109 of the file:
ngModel.$render();
If I replace that with the content of ngModel.$render = function()
if (!ngModel.$viewValue || !ngModel.$viewValue.startDate) {
return;
}
$element.val(formatted(ngModel.$viewValue));
then it works fine
see the pull requests, there is a fix you could apply locally. Unfortunately this projects doesn't look to be maintained anymore..