vue-hcaptcha
vue-hcaptcha copied to clipboard
[Vue warn]: Unhandled error during execution of unmounted hook
hcaptcha-vue3.es.js?406f:129 Uncaught (in promise) TypeError: this.hcaptcha.then is not a function at Proxy.unmounted (hcaptcha-vue3.es.js?406f:129) at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:6685) at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:6694) at Array.hook.__weh.hook.__weh (runtime-core.esm-bundler.js?5c40:1948) at flushPostFlushCbs (runtime-core.esm-bundler.js?5c40:6886) at flushJobs (runtime-core.esm-bundler.js?5c40:6931)
have this error when change page im using laravel with inertiajs vue3
Same problem here
Same problem here. Waiting for #49 to get merged. Thanks a lot @piliugin-anton
Update: found this alternative that works with Vue 3 and doesn't have this problem. https://github.com/DSergiu/vanilla-hcaptcha
import 'vanilla-hcaptcha';
const app = createApp({})
app.config.compilerOptions.isCustomElement = tag => ['h-captcha'].includes(tag)
app.mount('#app')
#49 marged but the problem has not been resolved yet
@alimardani94 on master? any more details?
My guess is that the new version needs to be released. Perhaps @e271828- tried the current (buggy) version. (v0.3.1)
Closing this stale issue. Please reopen if necessary.