time picker not fired in demo too
i just downloaded full zip and open demo.html. time picker not work. not even fired. i tried newly even fresh html file ``` var dialog = new mdDateTimePicker.default({ type: 'time' }); var toggleButton = document.getElementById('id-of-button-to-open-it'); toggleButton.addEventListener('click', function() { dialog.toggle(); });
i got error message in consol
Uncaught TypeError: _draggabilly2.default is not a constructor
at mdDateTimePicker._dragDial (mdDateTimePicker.js:1186)
at mdDateTimePicker._initTimeDialog (mdDateTimePicker.js:519)
at mdDateTimePicker.show (mdDateTimePicker.js:162)
at mdDateTimePicker.toggle (mdDateTimePicker.js:188)
at HTMLButtonElement.
this way also not work. can you check please.
Did you download all the necessary dependencies with it?
yes i download full package md-date-time-picker-master.zip from there i took js and css from dist folder. even your demo.html time picker not work. if you check then you can understand.
if i press default from time dialog it is not fired. and consol show error
| _dragDial | @ | mdDateTimePicker.js:1186
-- | -- | -- | --
| _initTimeDialog | @ | mdDateTimePicker.js:519
| show | @ | mdDateTimePicker.js:162
| toggle | @ | mdDateTimePicker.js:188
| (anonymous) | @ | demo.html:90