logbon72 / angular-material-datetimepicker

Datepicker for Angular Material, mimick's Android's date time picker
https://logbon72.github.io/angular-material-datetimepicker
MIT License
169 stars 123 forks source link

date picker months list is blank ...! #109

Open bhargavmullakuru opened 7 years ago

bhargavmullakuru commented 7 years ago

the months list in date picker is blank ..pls help with this issue

timepicker

hexadecy commented 7 years ago

@bhargavmullakuru first, double check the demo. Then, what dependencies/version are you using? Browser? OS ? Code example please...

bhargavmullakuru commented 7 years ago

@hexadecy thank you for your reply..... i have added the dependencies to my code and added the tag in my html 'ngMaterialDatePicker' this is the dependency i am using in app.js...

1.

  1. AngularJS v1.3.13
  2. Angular animate v1.3.13
  3. angular-aria v 1.4.8
  4. angular-material v1.1.0-rc1 6.i am using moment.js 7.i am not using highlight.js and beautifier.js
hexadecy commented 7 years ago

@bhargavmullakuru since this commit https://github.com/logbon72/angular-material-datetimepicker/commit/fc51fcaa7c5abefa70ef09a0c3d4a9ca25efbb75, AngularJS 1.5.x is the minimum. I wanted to implement the new $onInit lifecycle for AngularJS 1.6, there is also another workaround https://github.com/logbon72/angular-material-datetimepicker/issues/80. Can you update your dependencies ?

hexadecy commented 7 years ago

@bhargavmullakuru fixed in my fork for you.

if (angular.version.major === 1 && angular.version.minor < 5) {
  this.$onInit();
}
bhargavmullakuru commented 7 years ago

@hexadecy 👍 💯 :) thank you ... it is now working fine

GurumurthyPana commented 6 years ago

I am getting above mentioned error, still

hexadecy commented 6 years ago

You have to use the more recent fork: https://github.com/beenote/angular-material-datetimepicker

GurumurthyPana commented 6 years ago

I am using ionic1 and supported angular version 1.4 recent one ng-material-datetimepicker only installed into my project, but not supported, Below mentioned installed details

-- ng-material-datetimepicker@1.15.0 +-- angular@1.6.10 +-- angular-animate@1.6.10 +-- angular-aria@1.6.10 +-- angular-material@1.1.8 `-- angular-messages@1.6.10

GurumurthyPana commented 6 years ago

sorry, I updated file not reached into my asset folder, that's why I am getting the same status, now I resolved, Thank you for your reply.