Feature support - Imperative form submission #12068
bombillazo
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I'd like to gather community support for this feature:
#12030
In a nutshell, this feature enables devs to submit a form by calling a
submit
function given by the form context instead of handling a callback and passing functions to thehandleSubmit
function wherever they need to run it. The idea is that you set up your form submit function at the hook level, and thesubmit
function calls it for you.I've implemented this already in production via patching the library, but have made this PR to incorporate it officially, but your support is needed to get traction.
Thanks for the feedback and ideas. So far, it's working great for us, and I know others have wanted a way to quickly submit a form without having to put everything that triggers the form inside Form Context.
Beta Was this translation helpful? Give feedback.
All reactions