devextreme-vue icon indicating copy to clipboard operation
devextreme-vue copied to clipboard

DxDateBox type='datetime' is not working when running in production mode (Vue3 + Vite)

Open SergeiMinaev opened this issue 2 years ago • 0 comments

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.

SergeiMinaev avatar Jan 11 '23 18:01 SergeiMinaev