I have assert configured in my entity.
I created two forms types.
In the first, I have name
and url
. In the second I have description
.
/*
*@Assert/NotBlank()
*/
$description;
When I try to submit the first form, it is not validated because the $description
is blank.
But in the first form, not have the description field.