Comments (8)
@artemgurzhii The problem is that when 0.7.0
was released, the window.grecaptcha.render
issue didn't appear yet. It appeared only after this addon was migrated to Ember 3+
We don't maintain multiple branches on this project, so the only solution for your case is to use your own fork.
from ember-g-recaptcha.
Same here.
from ember-g-recaptcha.
@artemgurzhii @mitchiru Are you on Ember 3 at least?
from ember-g-recaptcha.
No. 2.18 or something. I went back to 0.5.0 as I remember.
from ember-g-recaptcha.
Ok, thank you for reporting. This gave me the chance to put a note on v0.8.0 release
I can close this.
from ember-g-recaptcha.
@algodave I'm currently facing other problem, as our app is built on the [email protected].
When I have tried to update to the [email protected]
I was getting Cannot read property 'defineProperty' of undefined
and after I have a rollbacked to the [email protected]
I'm getting TypeError: window.grecaptcha.render is not a function
.
Currently, I can solve this problem by creating app/components/g-recaptcha.js
file and copying all renderReCaptcha
method with only one line changed
if (isNone(window.grecaptcha) || isNone(window.grecaptcha.render)) {
Is there any better option to fix this?
from ember-g-recaptcha.
@algodave Can you please than update README.md with the following note?
from ember-g-recaptcha.
@artemgurzhii Updated Readme, thanks for the heads up!
from ember-g-recaptcha.
Related Issues (20)
- Notify component on ReCaptcha APIs loaded HOT 1
- Use window.grecaptcha.ready instead of 500ms delay HOT 1
- Cannot read property 'defineProperty' of undefined HOT 1
- Allow parent views/components to trigger reCaptcha reset HOT 2
- Set a default value to jsUrl HOT 2
- Document usage of onRender both in Readme and in dummy app HOT 1
- Remove usage of Ember.Logger from dummy app
- DEPRECATION: Use of `merge` has been deprecated. Please use `assign` instead.
- Is this add-on dead? HOT 3
- Upgrade EmberJS and related libraries HOT 1
- Access-Control-Allow-Origin problem HOT 4
- Seemingly arbitrary test failures: "reCAPTCHA placeholder element must be an element or id" HOT 6
- Disable GRecaptcha in e2e tests
- ember-cli-babel update
- Double GRecaptcha in the same page doesn't work HOT 3
- Create a workflow in Github Actions
- Error after upgrading to Ember 4.4.0 HOT 3
- Appending same query param twice in `components/g-recaptcha.js` + unnecessary `&` at the end HOT 2
- TypeError: window.grecaptcha.render is not a function HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-g-recaptcha.