Skip to content

Populating form with previous submission #2825

Answered by nickgros
kjkent asked this question in Q&A
Discussion options

You must be logged in to vote

@kjkent You could treat Form as a controlled component, and pass the previous submission as the formData prop. You would have to ensure you update formData using the onChange prop. See Quick Start -> Controlled Component.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kjkent
Comment options

Answer selected by kjkent
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