kazupon / vue-validator

:white_check_mark: Validator component for Vue.js
MIT License
2.19k stars 431 forks source link

Google Recaptcha doesn't work when inside of validator #320

Open stevexuereb opened 7 years ago

stevexuereb commented 7 years ago

vue & vue-validator version

1.0.26, 2.0.0

Reproduction Link

https://jsfiddle.net/steveazz/t4bkoh63/2/

Steps to reproduce

Click on I am not a robot. Open up your dev console you will the following error

recaptcha__en.js:342 Uncaught SecurityError: Blocked a frame with origin "https://www.google.com" from accessing a frame with origin "https://fiddle.jshell.net". Protocols, domains, and ports must match.

Now if you check https://jsfiddle.net/steveazz/ssjv5stf/ it will work since it is outside of the validator.

What is Expected?

To validate the user is not a robot

What is actually happening?

See above error