[Bug]: Vue3 project build / preview with vite, Date cell type throws exception
colcat opened this issue · comments
Describe the bug
- A simple vue3 project with only one simple handsontable component in one single page
- build or preview with vite 5.0
- Click on the Date cell.
- Handsontable throws exception: n.isMoment is not a function.
It seems the bug is related to moment.js component.
Video/Screenshots
Provide a link to the demo with the bug reproduction
No response
Handsontable version
14.0.0
Framework version
Vue 3.3.11, vite 5.0.10, moment 2.29.4
Your environment
Google Chrome 120.0
Thank you for sharing the issue report @colcat
We have reported the same issue case but for React. I will inform the team that the same happens for Vue.
I will inform you as soon as we fix it.
@AMBudnik Thanks a lot.
For now, I just fix the problem by locating the o.isMoment(I), and changing it to o(I) after building.
It did work for now.
Could you please fix this bug? It's causing me trouble as well
Apparently, this issue was solved in Handsontable 14.1.0. Please confirm if the problem is gone on your side with this version.