diff --git a/reference/constraints/Choice.rst b/reference/constraints/Choice.rst index 89a67af8d3b..1849b0949ef 100644 --- a/reference/constraints/Choice.rst +++ b/reference/constraints/Choice.rst @@ -375,11 +375,17 @@ too few choices per the `min`_ option. You can use the following parameters in this message: -+------------------+------------------------------------------------+ -| Parameter | Description | -+==================+================================================+ -| ``{{ limit }}`` | The lower limit of choices | -+------------------+------------------------------------------------+ ++--------------------+-------------------------------------------------------+ +| Parameter | Description | ++====================+=======================================================+ +| ``{{ value }}`` | The current (invalid) value | ++--------------------+-------------------------------------------------------+ +| ``{{ choices }}`` | String list of available choices, separated by comas | ++--------------------+-------------------------------------------------------+ + +.. versionadded:: 4.3 + + The ``{{ choices }}`` parameter was introduced in Symfony 4.3. maxMessage ~~~~~~~~~~ @@ -391,11 +397,17 @@ too many options per the `max`_ option. You can use the following parameters in this message: -+------------------+------------------------------------------------+ -| Parameter | Description | -+==================+================================================+ -| ``{{ limit }}`` | The upper limit of choices | -+------------------+------------------------------------------------+ ++--------------------+-------------------------------------------------------+ +| Parameter | Description | ++====================+=======================================================+ +| ``{{ value }}`` | The current (invalid) value | ++--------------------+-------------------------------------------------------+ +| ``{{ choices }}`` | String list of available choices, separated by comas | ++--------------------+-------------------------------------------------------+ + +.. versionadded:: 4.3 + + The ``{{ choices }}`` parameter was introduced in Symfony 4.3. strict ~~~~~~
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: