On line 33, create a new line, and write:
options.autoUpdateInput = false;
When true (by default) it does $(this).val(start+ " " + seperator + " " + end) which is not an object, but a string!
Then, you can also use the latest version of bootstrap-daterangepicker, and it works even better.
OR, even better, add:
angular.extend(options, scope.options)
and bind options to an attribute.
On line 33, create a new line, and write:
options.autoUpdateInput = false;
When true (by default) it does
$(this).val(start+ " " + seperator + " " + end)
which is not an object, but a string! Then, you can also use the latest version of bootstrap-daterangepicker, and it works even better.OR, even better, add:
angular.extend(options, scope.options) and bind options to an attribute.