Skip to content
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

add support for onChange #127

Open
jeremyjs opened this issue Jun 28, 2023 · 1 comment
Open

add support for onChange #127

jeremyjs opened this issue Jun 28, 2023 · 1 comment

Comments

@jeremyjs
Copy link

in addition to onSubmit. one use case is for a form that auto-saves on every change or blur of a sub-element.

@bastibuck
Copy link

You could probably use the watch of react-hook-form like here. Create your form and pass it.

https://react-ts-form.com/docs/docs/usage/form-state
https://react-hook-form.com/docs/useform/watch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants