-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix setError type #3065
Fix setError type #3065
Conversation
setError accepts an error not the Field's value type. The actual code implementing this interface is actually written `setError: (value: any) => setFieldError(name, value)`.
@dantman is attempting to deploy a commit to the Formium Team on Vercel. A member of the Team first needs to authorize it. |
This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 60 days |
Still relevant. |
This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 60 days |
Should still be relevant. |
|
Seems to be fixed by #3203 now. |
setError accepts an error not the Field's value type. The actual code implementing this interface is actually written
setError: (value: any) => setFieldError(name, value)
.