devextreme-vue
devextreme-vue copied to clipboard
DxDateBox type='datetime' is not working when running in production mode (Vue3 + Vite)
Package versions:
devexteme version: 22.2.3
devextreme-vue version: 22.2.3
Steps to reproduce:
I've created a sample application that illustrates the bug - https://github.com/SergeiMinaev/devextreme-vue-bug Clone and run it. Or:
- Run
npm init vue@latest - install devextreme and devextreme-vue
- Add DxDateBox component and try to use it like this:
<dx-date-box type='datetime' />
Current behavior:
This error appears in the console after click on the button of DxDateBox input: Uncaught TypeError: r[n] is not a function. The calendar doesn't appear. The error occurs only in production mode and only with type='datetime'.
Expected behavior:
The calendar should appear after clicking on the button of DxDateBox input.