Skip to content

Commit f599ae4

Browse files
niconoe-javiereguiluz
authored andcommitted
[Validator] Fix parameters list in Choice::$multipleMessage option
1 parent e0dc6a2 commit f599ae4

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

reference/constraints/Choice.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Parameter Description
304304
================= ============================================================
305305
``{{ choices }}`` A comma-separated list of available choices
306306
``{{ value }}`` The current (invalid) value
307+
``{{ limit }}`` The maximum number of selectable choices
307308
================= ============================================================
308309

309310
match
@@ -362,6 +363,7 @@ Parameter Description
362363
================= ============================================================
363364
``{{ choices }}`` A comma-separated list of available choices
364365
``{{ value }}`` The current (invalid) value
366+
``{{ limit }}`` The minimum number of selectable choices
365367
================= ============================================================
366368

367369
``multiple``
@@ -385,11 +387,11 @@ is not in the array of valid choices.
385387

386388
You can use the following parameters in this message:
387389

388-
=============== ==============================================================
389-
Parameter Description
390-
=============== ==============================================================
391-
``{{ value }}`` The current (invalid) value
392-
``{{ label }}`` Corresponding form field label
393-
=============== ==============================================================
390+
================= ============================================================
391+
Parameter Description
392+
================= ============================================================
393+
``{{ choices }}`` A comma-separated list of available choices
394+
``{{ value }}`` The current (invalid) value
395+
================= ============================================================
394396

395397
.. include:: /reference/constraints/_payload-option.rst.inc

0 commit comments

Comments
 (0)