formapro / JsFormValidatorBundle

The Javascript validation for Symfony 2, 3 and 4 forms
MIT License
128 stars 57 forks source link

Init default constraint groups #110

Closed pepamartinec closed 8 years ago

pepamartinec commented 8 years ago

This enforces initialization of constraint validation groups before it is exported to jsObject. Otherwise the 'Default' validation group is not exported.

This uses same technique as Symfony\Component\Validator\Constraint::__sleep.