Get all errors along with fields the error is connected to

前端 未结 7 1487
予麋鹿
予麋鹿 2021-01-03 06:43

I\'m using Symfony2 forms to validate POST and PUT requests to an API. The form handles binding the request data to the underlying entity and then validating the entity. Eve

7条回答
  •  Happy的楠姐
    2021-01-03 07:13

    I created a bundle to help with this issue.

    You can get it here:

    https://github.com/Ex3v/FormErrorsBundle

    Contributions are welcome. Cheers.

提交回复
热议问题