-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
submit form programmatically #3023
Comments
Can you try the v5 beta and see if it works now? There was an issue that hopefully was fixed |
yes, it is working on v5 beta also as @WillowP suggested, a fix for v4 can be done by make the button a submit button and just set the form attribute.
|
Closing as this works in the v5 beta |
Do you know if this is going to be released in a patch for v4? |
Hey,
I am trying to submit a form programmatically.
i have read the docs:
https://react-jsonschema-form.readthedocs.io/en/latest/advanced-customization/internals/#submit-form-programmatically
but my form wont submitting:
https://stackblitz.com/edit/react-ygpqie?file=src/App.js
any idea what am i doing wrong?
@rjsf/core: 4.2.3
react: 18.2.0
thanks in advance,
The text was updated successfully, but these errors were encountered: