Open jmondo opened 9 years ago
Hi there,
In the 2nd test, $scope.date
should be 2014-03-01
and the displayed month should be November 2014
. If that is not happening, then apparently we have a bug.
It is displaying the correct month (and you have other tests for that). The problem I'm having is unrelated to the display of the calendar.
My problem: When you set a default month and then you choose a date outside that month $scope.date
gets set to undefined.
Ok, so then it's a bug that should be fixed. I will see if I have time to do it, but if you solved it, feel free to open a Pull Request
Thanks
Haven't solved it yet. Will definitely open a PR if I can solve. Thanks!
I added 2 test cases to the 'Default date" describe block:
The first case passes, the second case fails. Is that the intended behavior?
In our app, we set the default date to next month, but once we did that users were unable to choose dates in this month or 2 months from now. Halp?