final-form / final-form/react-final-form
Submit from FormSpy
Open
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
Feature request
### What is the current behavior?
`FormSpy` receives `FormState` and `SubsetFormApi `, but as far I know it does not receive any method to trigger a form submit.
### What is the expected behavior?
The `SubsetFormApi` could include the `submit()` method.
### Other information
The "Auto-Save with Debounce" example could benefit from it, submitting the form instead of expecting a `save` prop to be passed.
Contributor guide
Assessment
This issue has not been assessed yet.