I have a problem when trying to go to another component with the onSubmit of the autoform #1155
Answered
by
radekmie
emilio19951
asked this question in
Q&A
-
I have a handleSubmit function that I call in the AutoForm obSubmit in which I want to see the saved information of the form and send it to another route but if I do a return it does not take me to the page, I would like to know If someone could guide me on that part. |
Beta Was this translation helpful? Give feedback.
Answered by
radekmie
Aug 13, 2022
Replies: 1 comment
-
Hey @emilio19951. As the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
radekmie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @emilio19951. As the
onSubmit
is triggered on an event, it has nothing to do with the rendering. I don't know what kind of routing library you are using, but there's most likely some sort ofredirect(path)
function - you should use it.