dozoisch / dozoisch/react-google-recaptcha

Unable to reset after successful form submission

Open
#170 2 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
1.1k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

"react-google-recaptcha": "^2.0.1"

**Method 1:**

`const Contact = () => {
const recaptchaRef = React.createRef();

const verifyCallback = () => {
console.log( recaptchaRef.current.getValue() )
}
return(




);
}`

**Method 2:**

`const Contact = () => {
let recaptchaRef;

const verifyCallback = () => {
console.log( recaptchaRef)
}
return(


recaptchaRef = e}
/>

);
}`

Both method gave null.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.