Catch a laravel validation exception in ajax

前端 未结 0 2033
逝去的感伤
逝去的感伤 2020-12-23 20:56

The api returns the following error. How can I handle the name.0 and name.1 etc in the ajax and display under respective input in the form.

errors: {name.0: [         


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