You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: docs/api/Form.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,3 +146,6 @@ _(Any)_ The `component` that the `<Form>` should be rendered to (default: `"form
146
146
147
147
### Notes
148
148
- For React Native, the `View` component is used to render the form, if you `import { Form } from 'react-redux-form/native'`.
149
+
- In HTML, you are not allowed to nest forms. If you do want to nest forms, you will have to do one of the following:
150
+
- If you want a nested form that doesn't submit, you can set the nested form's component to something other than `'form'`, like `<Form component="div" ...>`
151
+
- If you _do_ want a "form" inside a form that does submit, you'll have to set the component and submit manually by dispatching `actions.validSubmit(model, promise)`.
0 commit comments