Open Jurigag opened 8 years ago
I had to add something like this:
options.startDate = $scope[$attributes.ngModel].startDate; options.endDate = $scope[$attributes.ngModel].endDate;
To get actual dates in view which were setted in $scope.
where did you add those two lines?
@miikeat
After
https://github.com/luisfarzati/ng-bs-daterangepicker/blob/master/src/ng-bs-daterangepicker.js#L24
I had to add something like this:
options.startDate = $scope[$attributes.ngModel].startDate; options.endDate = $scope[$attributes.ngModel].endDate;
To get actual dates in view which were setted in $scope.