angular2-materialize: Timepicker not working (v15.1.3)
Timepicker is not binding the correct values to the input, following error happens on init:
core.es5.js:1020 ERROR TypeError: picker_2.set is not a function at materialize-directive.js:192
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 1
- Comments: 20 (15 by maintainers)
Commits related to this issue
- fix: Fixed pickatime bug #343 — committed to InfomediaLtd/angular2-materialize by rubyboy 7 years ago
ok i analysed the bug. I checked the current implementation in angular2-materialize. Based on tha a created a codepen.
https://codepen.io/anon/pen/BdLbEJ
Same behaviour.
ok i looked after Materializecss.
Materializecss changed the internal timepicker. Old one is based on pickadate.js. New one is based on clockPicker v0.0.7 (http://weareoutman.github.io/clockpicker/) (see release notes https://github.com/Dogfalo/materialize/releases/tag/v0.99.0 )
I saw that #331 pushed support for pickatime. But i think that the api of Materializecss of pickatime changed completed ( see above)
@luketn do you tested #331 against Materializecss v0.99.0 @rubyboy what do you think?