final-form / react-final-form

🏁 High performance subscription-based form state management for React
https://final-form.org/react
MIT License
7.39k stars 481 forks source link

submitted #690

Open cindyqiong opened 4 years ago

cindyqiong commented 4 years ago

Are you submitting a bug report or a feature request?

What is the current behavior?

What is the expected behavior?

Sandbox Link

What's your environment?

Other information

If an error is reported in the background after the form is submitted, can you keep the content of the form from being emptied

AntonKL commented 4 years ago

Form won't be reset unless you do something wrong in your code. See this example and try to trigger errors. Submitted data is still present in form. https://final-form.org/docs/react-final-form/examples/submission-errors