Skip to content
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

Cannot Submit Form // @rjsf/antd #2867

Closed
4 tasks done
sarpere opened this issue May 23, 2022 · 3 comments · Fixed by #2869
Closed
4 tasks done

Cannot Submit Form // @rjsf/antd #2867

sarpere opened this issue May 23, 2022 · 3 comments · Fixed by #2869
Assignees
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned

Comments

@sarpere
Copy link
Contributor

sarpere commented May 23, 2022

Prerequisites

What theme are you using?

antd

Version

4.2.0

Current Behavior

When I click submit button,I cannot reach with any response.
I used default example page

Example page
Screen Shot 2022-05-23 at 12 27 00

Expected Behavior

When I click submit button, Form need to be triggered.

Steps To Reproduce

  1. Set selected theme to antd
  2. click submit
  3. Check logs on console. (nothing appear)

Environment

No response

Anything else?

No response

@sarpere sarpere added bug needs triage Initial label given, to be assigned correct labels and assigned labels May 23, 2022
@sarpere
Copy link
Contributor Author

sarpere commented May 23, 2022

I have created PR for the issue.

heath-freenome pushed a commit that referenced this issue May 25, 2022
* Submit button type bug fix

* Submit button type bug fix

* Merge branch 'rjsf-antd-submit-bug' of https://github.com/sarpere/react-jsonschema-form into rjsf-antd-submit-bug

* Revert "Submit button type bug fix"

This reverts commit afdd34c.

* Submit button type fix

* White space removed

* antd test snapshots update
@three-fourteen
Copy link

Is this fixed? I trying it in a local project with"@rjsf/antd": "^4.2.0" and "@rjsf/core": "^4.2.0" the submit is not working, if use the

from core the submit works properly.

@sarpere
Copy link
Contributor Author

sarpere commented Jul 18, 2022

Hi @andres314,
You need to upgrade your package to 4.2.1 or higher. It fixed on version 4.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs triage Initial label given, to be assigned correct labels and assigned
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants