vue-the-mask icon indicating copy to clipboard operation
vue-the-mask copied to clipboard

Vue 3 don't work

Open vkiranananda opened this issue 4 years ago • 3 comments

Hello . Vue 3 don't work (

[Warning] [Vue warn]: Property "$createElement" was accessed during render but is not defined on instance. (21)
"
"" at <TheMask""modelValue=\"1122\"""onUpdate:modelValue=fn""mask="["+7 (###) ###-##-##"]Array (1)" ..."">""
"" at <Login""onVnodeUnmounted=fn<onVnodeUnmounted>""ref=Ref<"undefined">"">""
"" at <RouterView""key=1"">""
"" at <Taxi>"
[Warning] [Vue warn]: Property "_self" was accessed during render but is not defined on instance. (21)
"
"" at <TheMask""modelValue=\"1122\"""onUpdate:modelValue=fn""mask="["+7 (###) ###-##-##"]Array (1)0 "+7 (###) ###-##-##"Прототип Array" ..."">""
"" at <Login""onVnodeUnmounted=fn<onVnodeUnmounted>""ref=Ref<"undefined">"">""
"" at <RouterView""key=1"">""
"" at <Taxi>"
[Warning] [Vue warn]: Unhandled error during execution of render function (21)
"
"" at <TheMask""modelValue=\"1122\"""onUpdate:modelValue=fn""mask="["+7 (###) ###-##-##"]Array (1)" ..."">""
"" at <Login""onVnodeUnmounted=fn<onVnodeUnmounted>""ref=Ref<"undefined">"">""
"" at <RouterView""key=1"">""
"" at <Taxi>"
[Warning] [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next (21)
"
"" at <TheMask""modelValue=\"1122\"""onUpdate:modelValue=fn""mask="["+7 (###) ###-##-##"]Array (1)" ..."">""
"" at <Login""onVnodeUnmounted=fn<onVnodeUnmounted>""ref=Ref<"undefined">"">""
"" at <RouterView""key=1"">""
"" at <Taxi>"
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'e._self._c')
	logError (runtime-core.esm-bundler.js:1:4365)
	handleError (runtime-core.esm-bundler.js:324)
	callWithErrorHandling (runtime-core.esm-bundler.js:278)
	flushJobs (runtime-core.esm-bundler.js:480)
	promiseReactionJob

vkiranananda avatar Dec 21 '20 13:12 vkiranananda

Please try to use the directive instead of component

Manviel avatar Apr 06 '21 12:04 Manviel

Same problem here. I am using as directive, like @Manviel said, and it running well.

PauloViniciusBaleeiro avatar Jul 01 '21 11:07 PauloViniciusBaleeiro

With the directive, we lose the possibility of having the raw value. :/ No other solution to use the component mode?

Thank 🙏

Flo2315 avatar Jul 21 '21 08:07 Flo2315