Closed pambuk closed 8 years ago
What does you onCreate function look like. Also what does it look like in the view / on the directive?
The code simply passes the value from grecaptcha.render(...)
(through a promise) which is "the ID of the newly created widget"
Hi, I'll try to answer your questions later today (from what I remember waiting longer solved it).
I followed the demo code and I get the same issue.
@pambuk any update or code to post?
Actually, I'm pretty sure reCaptcha's widget ids are just numbers, starting at 0, and going up by 1 each time a new one is instantiated.... so widgetId of 0 is fine and normal.
@iambrosi @mtrias This can probably be closed as it is just how reCaptcha's widgetId's work and is not a defect
As the title says, onCreate returns 0 for widgetId