Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Why startDate and endDate are not passed when creating daterangepicker ? #94

Open
Jurigag opened this issue Oct 30, 2015 · 2 comments
Open

Comments

@Jurigag
Copy link

Jurigag commented Oct 30, 2015

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.

@miikeat
Copy link

miikeat commented Nov 5, 2015

where did you add those two lines?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants