md-date-time-picker icon indicating copy to clipboard operation
md-date-time-picker copied to clipboard

time picker not fired in demo too

Open biju001 opened this issue 8 years ago • 2 comments

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. (demo.html:90)



this way also not work. can you check please. 
                      

biju001 avatar Oct 02 '17 10:10 biju001

Did you download all the necessary dependencies with it?

puranjayjain avatar Oct 02 '17 12:10 puranjayjain

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

biju001 avatar Oct 02 '17 12:10 biju001