final-form / final-form/react-final-form

Submit from FormSpy

Open
#135 3 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.