mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
minor #21791 [Form] Mention conditional constraints via form validation groups (javiereguiluz)
This PR was merged into the 6.4 branch.
Discussion
----------
[Form] Mention conditional constraints via form validation groups
As mentioned in https://github.com/symfony/symfony-docs/pull/21740#pullrequestreview-3721686103
Commits
-------
9fb022496 [Form] Mention conditional constraitns via form validation groups
This commit is contained in:
@@ -1630,6 +1630,12 @@ To achieve this, use the ``expression`` option of the
|
||||
])
|
||||
;
|
||||
|
||||
.. seealso::
|
||||
|
||||
Another way to implement conditional constraints is to configure the
|
||||
``validation_groups`` form option with a callable. See
|
||||
:doc:`/form/validation_groups`.
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user