How to pass down additional props to Form #2880
-
Hi All, I am using react-jsonschema-form with @rjsf/antd (Ant Design). Off of Ant Designs Form component, they have a property named https://ant.design/components/form/#Form I am wanting to include the How would I go about including Appreciate the help! https://codesandbox.io/s/brave-poitras-jdshu0?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
From the looks of it, the
|
Beta Was this translation helpful? Give feedback.
From the looks of it, the
antd
theme isn't actually using the specificForm
from Ant Design. Perhaps that is the issue. It is possible for you to customize your instance and use the_internalFormWrapper
prop on the@rjsf
Form
to switch in the Ant Design form yourself... You would do something like the following (note this code is being typed in this editor and will need to be updated accordingly):