Open jschill opened 1 year ago
Hi, i have the same issue, do you find any solution ?
Hi, i have the same issue, do you find any solution ?
@fanta759 No, sorry. vue-compat
did not fill all the holes we wanted, so we had to change our upgrade strategy to a new one that does not include vue-compat.
I was managed to fix this specific issue disabling COMPONENT_ASYNC
feature using
import { configureCompat } from 'vue'
// disable compat for certain features
configureCompat({
COMPONENT_ASYNC: false,
})
however, after that I get the following error when selecting date:
vue.runtime.esm-bundler.js:1638 Uncaught TypeError: onSelect is not a function
at handleCellClick (index.es.js:926:5)
at callWithErrorHandling (vue.runtime.esm-bundler.js:1575:18)
at callWithAsyncErrorHandling (vue.runtime.esm-bundler.js:1583:17)
at HTMLTableCellElement.invoker (vue.runtime.esm-bundler.js:11171:5)
@fanta759, @jschill I am having the same issue. Did you manage to make it work at the end ?
@Leftyx I use another datetimepicker
@Leftyx I use another datetimepicker
@fanta759 , Thanks for the swift reply. Appreciated. Which alternative did you use ?
also stumbled upon this issue, didn't find the solution
any update? i have same issue.
@Leftyx @yujin1st @kazuyoshi-yamada-wmj I use this datetimepicker with Vue3 : https://vue3datepicker.com/
Vue-datepicker-next version: 1.0.3 Vue version: 3.2.47 Browser: All
Steps to reproduce Create a new vue-project (
npm create vue@3
). I did not select any specials, such as typescript, pinia, linting, testing... Just the bare minimal.Add
vue-datepicker-next
. Created a new route for the picker. And pasted the example:Everything works just fine and the picker works.
Adding
@vue/compat
as dependency and adding the changes for it in vite.config.js:Then the pickers stop working.
When i'm debugging
TableDate
, the arguments passed in are two functions, not aTableDateProps
object. They are coming fromconvertLegacyAsyncComponent
: