Open Dylan-Israel opened 7 years ago
Which version are you using?
'<div md-virtual-repeat="idx in ::cal.months" md-auto-shrink md-item-size="' + ITEM_HEIGHT + '">' +
Which version are you using? I have the same problem since a few days, we have used the datepicker several months but suddenly it broke, I tried to change the versions, but it continues without working
angular-material: "1.1.1", angular-material-datetimepicker: "1.4.0"
angular-material: "1.1.3", angular-material-datetimepicker: "1.5.1"
I never had this issue, are you installing with bower, npm or yarn?
angular-material-datetimepicker 1.5.1 But npmjs is not up-to-date : https://www.npmjs.com/package/angular-material-datetimepicker https://github.com/logbon72/angular-material-datetimepicker/blob/master/js/angular-material-datetimepicker.js#L726
my fork with all the PR merged: ng-material-datetimepicker 1.5.10 https://www.npmjs.com/package/ng-material-datetimepicker https://github.com/beenote/angular-material-datetimepicker/blob/gh-pages/js/angular-material-datetimepicker.js#L747
Use the following CDN's to solve the issues
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-animate.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular-aria.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.1.3/angular-material.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/angular-material/1.1.3/angular-material.min.css" rel="stylesheet" type="text/css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.17.1/moment-with-locales.min.js"></script>
<!-- mdVirtualRepeat: idx in ::cal.months -->
When using this library the dates are not showing up in the date time picker. The mdVirtualRepeat for some reason is getting commented out.