Velvel / VelvelReportBundle

Online database report generator for Symfony2
GNU Lesser General Public License v3.0
17 stars 11 forks source link

The option "validation_constraint" does not exist #8

Open Numerah opened 9 years ago

Numerah commented 9 years ago

when i use this package i got the following error

"at OptionsResolver ->validateOptionsExistence (array('validation_constraint' => object(Collection), 'data' => array('from' => object(DateTime), 'to' => object(DateTime)))) in /vendor/symfony/symfony/src/Symfony/Component/OptionsResolver/OptionsResolver.php at line 224"

i also found the solution that validation constraint should be added on each form element not on builder kindly check

http://stackoverflow.com/questions/18147834/symfony-2-the-option-validation-constraint-does-not-exist