@@ -334,6 +334,14 @@ This is the message that you will receive if the ``multiple`` option is
334334set to ``false `` and the underlying value is not in the valid array of
335335choices.
336336
337+ You can use the following parameters in this message:
338+
339+ +------------------+------------------------------------------------+
340+ | Parameter | Description |
341+ +==================+================================================+
342+ | ``{{ value }} `` | The current (invalid) value |
343+ +------------------+------------------------------------------------+
344+
337345multipleMessage
338346~~~~~~~~~~~~~~~
339347
@@ -343,6 +351,14 @@ This is the message that you will receive if the ``multiple`` option is
343351set to ``true `` and one of the values on the underlying array being checked
344352is not in the array of valid choices.
345353
354+ You can use the following parameters in this message:
355+
356+ +------------------+------------------------------------------------+
357+ | Parameter | Description |
358+ +==================+================================================+
359+ | ``{{ value }} `` | The current (invalid) value |
360+ +------------------+------------------------------------------------+
361+
346362minMessage
347363~~~~~~~~~~
348364
@@ -351,6 +367,14 @@ minMessage
351367This is the validation error message that's displayed when the user chooses
352368too few choices per the `min `_ option.
353369
370+ You can use the following parameters in this message:
371+
372+ +------------------+------------------------------------------------+
373+ | Parameter | Description |
374+ +==================+================================================+
375+ | ``{{ limit }} `` | The lower limit of choices |
376+ +------------------+------------------------------------------------+
377+
354378maxMessage
355379~~~~~~~~~~
356380
@@ -359,4 +383,12 @@ maxMessage
359383This is the validation error message that's displayed when the user chooses
360384too many options per the `max `_ option.
361385
386+ You can use the following parameters in this message:
387+
388+ +------------------+------------------------------------------------+
389+ | Parameter | Description |
390+ +==================+================================================+
391+ | ``{{ limit }} `` | The upper limit of choices |
392+ +------------------+------------------------------------------------+
393+
362394.. include :: /reference/constraints/_payload-option.rst.inc
0 commit comments