8000 minor #13081 [Constraints][Choice] Added choices to message parameter… · symfony/symfony-docs@504a2a2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 504a2a2

Browse files
committed
minor #13081 [Constraints][Choice] Added choices to message parameters (przemyslaw-bogusz)
This PR was submitted for the 5.0 branch but it was merged into the 4.4 branch instead (closes #13081). Discussion ---------- [Constraints][Choice] Added choices to message parameters It was added in this PR: symfony/symfony#29658 <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 3ba67f7 Added choices to message parameters
2 parents 4213bed + 3ba67f7 commit 504a2a2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

reference/constraints/Choice.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,12 @@ choices.
337337

338338
You can use the following parameters in this message:
339339

340-
=============== ==============================================================
341-
Parameter Description
342-
=============== ==============================================================
343-
``{{ value }}`` The current (invalid) value
344-
=============== ==============================================================
340+
================= ============================================================
341+
Parameter Description
342+
================= ============================================================
343+
``{{ choices }}`` A comma-separated list of available choices
344+
``{{ value }}`` The current (invalid) value
345+
================= ============================================================
345346

346347
min
347348
~~~

0 commit comments

Comments
 (0)
0