Callback after submission is finished #258
bvangraafeiland
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This callback would be run after the form submission and subsequent revalidation have completed. My use case is having a form inside a modal, then closing the modal after form submission. I don't want to close the form immediately on submit due to possible server side errors and the changes wouldn't be reflected yet. Currently I have solved it like this:
But it would be more convenient to be able to do just
<ValidatedForm onSuccess={onSave} />
.Beta Was this translation helpful? Give feedback.
All reactions