Closed Geoffrey-Dere closed 7 years ago
I think this is already resolved in release 1.0.7 https://github.com/classlinkinc/angular-material-time-picker/releases/tag/1.0.7
unfortunately release 1.0.7 is not yet released on npmjs.com - https://www.npmjs.com/package/angular-material-time-picker
Oh ... indeed, i'm blind ..
Thx
Hello,
sorry for my english, I will do my best. When I want to open the clock (with the dialog), I have an error.
`TypeError: [Capico Coach Error] Cannot read property 'getHours' of undefined at controller.init (md-time-picker.js:552)
(self.time is undefined)
This problem is due to your function 'init' which is launch before the initialization of the controller
angularjs doc says this:
To resolve the problem, I replaced your function init by the method $onInit