in file angular-daterangepicker.js no comparison undefined.
if (opts.singleDatePicker && objValue) { return f(objValue); } else if (objValue) { return [f(objValue.startDate), f(objValue.endDate)].join(opts.locale.separator); } else { return ''; }
in } else if (objValue) { objValue = undefined
i corrected
if (opts.singleDatePicker && objValue) { return f(objValue); } else if (objValue !== undefined) { return [f(objValue.startDate), f(objValue.endDate)].join(opts.locale.separator); } else { return ''; }
and it working
in file angular-daterangepicker.js no comparison undefined.
if (opts.singleDatePicker && objValue) { return f(objValue); } else if (objValue) { return [f(objValue.startDate), f(objValue.endDate)].join(opts.locale.separator); } else { return ''; }
in} else if (objValue) {
objValue = undefinedi corrected
if (opts.singleDatePicker && objValue) { return f(objValue); } else if (objValue !== undefined) { return [f(objValue.startDate), f(objValue.endDate)].join(opts.locale.separator); } else { return ''; }
and it working