From f599ae4f3e2ca4dc48f9c77455acffed2b2ce9ec Mon Sep 17 00:00:00 2001 From: Nicolas Giraud Date: Fri, 13 Jun 2025 11:33:15 +0200 Subject: [PATCH] [Validator] Fix parameters list in Choice::$multipleMessage option --- reference/constraints/Choice.rst | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/reference/constraints/Choice.rst b/reference/constraints/Choice.rst index 3ef8c802815..cb1738eb7a6 100644 --- a/reference/constraints/Choice.rst +++ b/reference/constraints/Choice.rst @@ -304,6 +304,7 @@ Parameter Description ================= ============================================================ ``{{ choices }}`` A comma-separated list of available choices ``{{ value }}`` The current (invalid) value +``{{ limit }}`` The maximum number of selectable choices ================= ============================================================ match @@ -362,6 +363,7 @@ Parameter Description ================= ============================================================ ``{{ choices }}`` A comma-separated list of available choices ``{{ value }}`` The current (invalid) value +``{{ limit }}`` The minimum number of selectable choices ================= ============================================================ ``multiple`` @@ -385,11 +387,11 @@ is not in the array of valid choices. You can use the following parameters in this message: -=============== ============================================================== -Parameter Description -=============== ============================================================== -``{{ value }}`` The current (invalid) value -``{{ label }}`` Corresponding form field label -=============== ============================================================== +================= ============================================================ +Parameter Description +================= ============================================================ +``{{ choices }}`` A comma-separated list of available choices +``{{ value }}`` The current (invalid) value +================= ============================================================ .. include:: /reference/constraints/_payload-option.rst.inc