You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm tring to use Checkbox in vue3, but console is outputting: Error: useRecaptcha() is called without provider.
i've tried to call useRecaptchaProvider() in App.vue and Login.vue, but it didn't work.
context.mjs:8 Uncaught (in promise) Error: useRecaptcha() is called without provider.
at useRecaptchaContext (context.mjs:8:11)
at useAssertV2SiteKey (context.mjs:17:15)
at useChallengeV2 (challenge-v2.mjs:12:19)
at useComponentV2 (component-v2.mjs:5:83)
at setup (Checkbox.vue:46:18)
at callWithErrorHandling (runtime-core.esm-bundler.js:193:18)
at setupStatefulComponent (runtime-core.esm-bundler.js:7606:25)
at setupComponent (runtime-core.esm-bundler.js:7567:36)
at mountComponent (runtime-core.esm-bundler.js:5894:7)
at processComponent (runtime-core.esm-bundler.js:5860:9)
The text was updated successfully, but these errors were encountered:
I tried to use a simple project created by create-vue with the provided code and can't reproduce this. Could you provide a reproducible example with the build config?
Description
i'm tring to use
Checkbox
in vue3, but console is outputting: Error: useRecaptcha() is called without provider.i've tried to call
useRecaptchaProvider()
inApp.vue
andLogin.vue
, but it didn't work.Minimal Reproducible Example
main.ts
login.vue
System info
context.mjs:8 Uncaught (in promise) Error: useRecaptcha() is called without provider.
at useRecaptchaContext (context.mjs:8:11)
at useAssertV2SiteKey (context.mjs:17:15)
at useChallengeV2 (challenge-v2.mjs:12:19)
at useComponentV2 (component-v2.mjs:5:83)
at setup (Checkbox.vue:46:18)
at callWithErrorHandling (runtime-core.esm-bundler.js:193:18)
at setupStatefulComponent (runtime-core.esm-bundler.js:7606:25)
at setupComponent (runtime-core.esm-bundler.js:7567:36)
at mountComponent (runtime-core.esm-bundler.js:5894:7)
at processComponent (runtime-core.esm-bundler.js:5860:9)
The text was updated successfully, but these errors were encountered: