You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description
There should be an option to reset the mCaptcha from the codebase.
Problem
Within our project, we have integrated mCaptcha as a security measure before submitting forms. However, upon form submission, while all input values reset successfully using the useState hook, the mCaptcha checkbox remains checked. This issue arises because the mCaptcha checkbox resides within an iframe, and due to security restrictions, we cannot directly manipulate its state from our codebase, especially considering it has a different origin.
Issue description
There should be an option to reset the mCaptcha from the codebase.
Problem
Within our project, we have integrated mCaptcha as a security measure before submitting forms. However, upon form submission, while all input values reset successfully using the useState hook, the mCaptcha checkbox remains checked. This issue arises because the mCaptcha checkbox resides within an iframe, and due to security restrictions, we cannot directly manipulate its state from our codebase, especially considering it has a different origin.
Version:
next - "13.4.0",
react - "18.2.0",
react-dom - "18.2.0",
@mcaptcha/react-glue - "0.1.0-rc3"
Expected Behaviour:
The mCaptcha should be resettable from the codebase.
The text was updated successfully, but these errors were encountered: