I have a Customer entity that only has a unique Email field to it. I am trying to edit a customer\'s email and the validation works fine. However I have this in my controller:>
The following solutions works for me:
$form->getErrors(true)