Skip to content

How to programmatically reset a form ? #991

Discussion options

You must be logged in to vote

Hi @baira.

The onSubmit function receives 3 arguments. Values, formApi and complete function. The form API does contain a reset function which will reset the form.

Check out this example: https://codesandbox.io/s/data-driven-forms-example-forked-i2col

Replies: 1 comment 1 reply

Comment options

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

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