You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of the documentation recommends the the use of Validation Groups, even though they have been deprecated. Is there any alternative to using the setDefaultOptions method in the new version of symfony? Or will you have to construct the OptionsResolver manually and filter the configuration array with that?
There is nothing wrong with validation groups. And setDefaultOptions is deprecated and replaced by configureOptions in 2.7. setDefaultOptions is not deprecated in Symfony 2.6, so the current version docs should still use setDefaultOptions.
There is already a PR to update the 2.7 docs to use configureOptions: #4786
The current version of the documentation recommends the the use of Validation Groups, even though they have been deprecated. Is there any alternative to using the setDefaultOptions method in the new version of symfony? Or will you have to construct the OptionsResolver manually and filter the configuration array with that?
http://symfony.com/doc/current/book/forms.html#validation-groups
The text was updated successfully, but these errors were encountered: