@UsuallyReliable wrote:
I am upgrading to Ember Octane and I am using ember-g-recaptcha https://www.npmjs.com/package/ember-g-recaptcha. The project
README.MD
has not been updated to reflect Ember Octane. The reCaptchaResponse in the component js keeps coming backundefined
. How do I fix this?I have posted the Ember-Twiddle here https://ember-twiddle.com/509eb1c04c9c7d908d16ba2a2bb39ba5. Note: you will need to provide a sitekey to use it.
Thats what I do:
<GRecaptcha @size="normal" @sitekey={{this.siteKey}} @onSuccess={{action "onCaptchaResolved"}} @onExpired={{action "onCaptchaExpired"}} @ref={{mut this.googleRecaptcha}} />
Posts: 3
Participants: 2