Closed bmickoski closed 5 years ago
+1
+1
+1
+1
+1
Issue still exists because this lib isn't maintained. In our project I fixed this by exposing model date and options objects to the controller scope:
View:
<div
date-range-picker
ng-model="date"
options="options"
></div>
Controller:
$scope.options = {
showDropdowns: true,
opens: 'left',
drops: 'down',
applyClass: 'btn-primary'
};
$scope.date = {
startDate: moment(),
endDate: moment()
};
I see that there is open issue for this problem:
https://github.com/fragaria/angular-daterangepicker/pull/136
So why you guys don't merge this? Is there some other fix for this?