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

How can i add a submit button and send all the form values? #198

Open
ryan2412 opened this issue Mar 10, 2021 · 1 comment
Open

How can i add a submit button and send all the form values? #198

ryan2412 opened this issue Mar 10, 2021 · 1 comment

Comments

@ryan2412
Copy link

ryan2412 commented Mar 10, 2021

`_onChange = (formData) => console.log(JSON.stringify(formData, null, ' '))

`

Console gives `undefined```

@NickM101
Copy link

NickM101 commented Sep 4, 2021

For me, I added setState to formdata on _onChange so that I can receive all the data upon completion

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