Skip to content

Can you have multiple <Formik> component but referencing the same Form, #3071

Answered by johnrom
rifqirosyidi asked this question in Q&A
Discussion options

You must be logged in to vote

You can give your <form /> an id and do <button form={formId} type="submit">Submit</button>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@johnrom
Comment options

johnrom Mar 1, 2021
Collaborator

@rifqirosyidi
Comment options

Answer selected by rifqirosyidi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants