rjsf-team / react-jsonschema-form

A React component for building Web forms from JSON Schema.
https://rjsf-team.github.io/react-jsonschema-form/
Apache License 2.0
14.1k stars 2.18k forks source link

Cannot Submit Form // @rjsf/antd #2867

Closed sarpere closed 2 years ago

sarpere commented 2 years ago

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 commented 2 years ago

I have created PR for the issue.

three-fourteen commented 2 years ago

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 commented 2 years ago

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