Error message will not display after changing the type for a button in form

前端 未结 0 1610
北荒
北荒 2021-01-15 09:56

So I am trying to add validation to a form. Initially, for the button, I had the type as submit, but when I would click on the button the error message for an empty name inp

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