-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have form.reset() #189
Labels
enhancement
New feature or request
Comments
@shellking4 E.g., const initFormState = {
email: '',
password: '',
}
form.set(initFormState) // reset fields |
I think we have something like handleReset function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if it already exists and I'm not aware of it but I think we should have a reset method on form and use that to reset form after validations have succeeded and form submitted correctly.
The text was updated successfully, but these errors were encountered: