Sylius / Sylius-Sandbox

[DEPRACATED] Sylius sandbox application, playground and testing place for Sylius and Symfony2 beginners.
Sylius.org
MIT License
76 stars 24 forks source link

Show form errors. #86

Closed umpirsky closed 11 years ago

umpirsky commented 11 years ago

Symfony\Component\Validator\Constraints\Valid constraint adds errors to form, not fields.

<property name="root">
        <constraint name="Valid" />
</property>

So, in order to be visible, we must render them.

pjedrzejewski commented 11 years ago

Yeah, I think we're missing this in some other forms, I'll check. Thank you sir. ;)