-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Validation function doesn't work #1973
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
Comments
Can you provide a full example of all your code (including using the actual component)? |
Sure.
for the code
Based on the Error information, it raised by
|
I think you have a typo. This line
should be
Additionally, can you try removing the custom submit button and see if it works? If the issue is still there, please make a custom jsfiddle (https://jsfiddle.net/n1k0/f2y3fq7L/6/) and share it with me. |
I fixed this error by adding
|
Prerequisites
Description
I use basic function like

import Form from '@rjsf/core';
schema = {
properties: {
uuid: {
minLength: 10,
required: true,
type: 'string',
},
},
};
While the validation doesn't work and the submission is always triggered.
Here is a warning during submitting
Steps to Reproduce
Expected behavior
[What you expected to happen]
Actual behavior
[What actually happened]
Version
You can usually get this information in your
package.json
or in the file URL if you're using the unpkg one.The text was updated successfully, but these errors were encountered: