How can I set a props value inside an onSubmit function?

前端 未结 0 1122
闹比i
闹比i 2021-01-22 23:08

I have a React component that uses Formik for a form.

In the form, I have a button that fires an onSubmit to save the form data that looks like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题