how to prevent form from submitting only if it catches error

前端 未结 0 1552
不知归路
不知归路 2020-12-05 01:45

i\'m trying to prevent the form from submitting only when i catch an error

i have this function linked to my form onSubmit

const submitHandler = async          


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