call external function on formik submit onclick

前端 未结 0 880
谎友^
谎友^ 2021-01-13 08:54

I\'m trying to add an external function to my formik form submit button. But the submit button is calling the function without validating the form.

I\'ve tried:

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