alongubkin / alongubkin/angular-datepicker
DatePicker window freezes when $scope.date is set in controller
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 290
- Fork
- 126
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi,
Thanks for such a great DatePicker !!!!!
It seems I have problems getting it to work when presetting the date...
Defining the directive like this:
In the controller I have tried the following:
$scope.date = new Date();
And with an option:
$scope.date = {};
$scope.datePickerOptions = {
onRender: function(e) {
$scope.date = new Date();
}
};
In both cases the date picker freezes if I try to change the date after the page has loaded...
If I don't define $scope.date at all, it works fine...
Am I doing something wrong or is there a bug..?
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.