New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannon read property '_error' of undefined #2272
Comments
You're gonna kick yourself. . . Ready? . . You can't return That said, it would behoove the library itself to default |
@erikras cool, thanks for that. That was a silly mistake !! 😅 |
Fix published in |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
So, I had to set
enableReinitalize
totrue
for solving the issue mentioned in #621 .Now when I set the
enableReinitalize: true
, the validate function doesn't work for some reason. It throws an error sayingCannot read property '_error' of undefined
which prevents from opening the form where we enabledenableReinitalize: true
.The screenshot of the error -
The example code for the form page is https://gist.github.com/reznord/eb0e50539dc72484b7d446f7b8141280
Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered: