fooloomanzoo / datetime-picker

A minimal picker for date and time for Polymer, that can use the native input
MIT License
78 stars 18 forks source link

Uncaught TypeError: Class extends value undefined is not a constructor or null #22

Closed jjarrell56 closed 6 years ago

jjarrell56 commented 6 years ago

I would appreciate a little help with getting Date-picker working in my Angular applications. It's not currently rendering and has the following errors at start up.

image

Angular, in index.html. I am using a number of conventional Polymer 1x components.

 <link rel="import" href="assets/bower_components/datetime-picker/date-picker.html">
  <link rel="import" href="assets/bower_components/input-picker-pattern/overlay-element.html">
fooloomanzoo commented 6 years ago

Polymer 1 might not work with this element because you need to have the possibility to extend Polymer.Element like explained in dev-guide. But it should be safe for you to upgrade because polymer 2.x garantees backward compatibility to 1.x .