formsy-react
formsy-react copied to clipboard
Feature Request: Add method to programically submit form in withFormsy hoc
Title pretty much says it all
Would also like this. Use case is embedding a form within a modal dialog component that has the "OK" and "Cancel" buttons as part of the boilerplate markup. I'd like the dialog "OK" button to submit the form.
It's possible https://github.com/christianalfoni/formsy-react/issues/45
Then this is a documentation problem, and should still be a PR.
This is the function mentioned https://github.com/christianalfoni/formsy-react/issues/45#issuecomment-97426023
It would be a very easy first PR to: 1) Create a test to make sure this functionality is not broken in the future, 2) Add it to the documentation.
But in the meantime, this at least solves @broofa's issue.