react-jsonschema-form
react-jsonschema-form copied to clipboard
Activating Disable HTML 5 validation causes not validation
Prerequisites
- [X] I have searched the existing issues
- [X] I understand that providing a SSCCE example is tremendously useful to the maintainers.
- [X] I have read the documentation
- [X] Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.12.0
Current Behavior
When Disable HTML 5 validation is sent prop to the Form, no validation works anymore.
Here is an example showcasing the issues : rjsf-team.github
Expected Behavior
should be validated formData.
Steps To Reproduce
No response
Environment
- OS: Windows 10 Enterprise 22H2
- Node: 18.12.0
- npm: 9.2.0
- Google Chrome: 119.0.6045.200 (Official Build) (64-bit)
Anything else?
https://github.com/rjsf-team/react-jsonschema-form/assets/87765316/e31d6df8-2e34-491b-a225-f4ccba3100a1
@alikhani-dev the issue is that your "table" and "view" properties are not required, so they are not created in the form data.
You might need to make further adjustments to accomplish exactly what you want.