-
I have a CanJS component rendering a date picker using tempus-dominus and when I click in the picker icon to open it, I'm getting this error:
I'm importing tempus-dominus and popper this way:
I'm not sure if I really need to import the popper but I already tried to import in different ways and I get always the same error.
This is irrelevant but I'm initializing the date picker like this:
What I need to do to solve this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
What version is this and can you reproduce it on stackblitz? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I still don't know if we really need to specify the import of the Popper plugin.
However, for my CanJS project, seems I solved the problem importing Popper normally and adding it to the window before initializing the tempus-dominus picker:
If anyone has a better solution, please share.
Even …