Answer the question
In order to leave comments, you need to log in
How to fix Symfony 3 form validation error?
Good afternoon.
The problem is the following: On a site written using the Symfony 3 framework, when editing a news item, it throws a validation error for all fields that did not change during editing.
Scenario:
AppBundle\Entity\News:
properties:
title:
- NotBlank:
message: Поле не может быть пустым
text:
- NotBlank:
message: Поле не может быть пустым
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question