@@ -370,11 +370,17 @@ too few choices per the `min`_ option.
370
370
371
371
You can use the following parameters in this message:
372
372
373
- +------------------+------------------------------------------------+
374
- | Parameter | Description |
375
- +==================+================================================+
376
- | ``{{ limit }} `` | The lower limit of choices |
377
- +------------------+------------------------------------------------+
373
+ +--------------------+-------------------------------------------------------+
374
+ | Parameter | Description |
375
+ +====================+=======================================================+
376
+ | ``{{ value }} `` | The current (invalid) value |
377
+ +--------------------+-------------------------------------------------------+
378
+ | ``{{ choices }} `` | String list of available choices, separated by comas |
379
+ +--------------------+-------------------------------------------------------+
380
+
381
+ .. versionadded :: 4.3
382
+
383
+ The ``{{ choices }} `` parameter was introduced in Symfony 4.3.
378
384
379
385
maxMessage
380
386
~~~~~~~~~~
@@ -386,10 +392,16 @@ too many options per the `max`_ option.
386
392
387
393
You can use the following parameters in this message:
388
394
389
- +------------------+------------------------------------------------+
390
- | Parameter | Description |
391
- +==================+================================================+
392
- | ``{{ limit }} `` | The upper limit of choices |
393
- +------------------+------------------------------------------------+
395
+ +--------------------+-------------------------------------------------------+
396
+ | Parameter | Description |
397
+ +====================+=======================================================+
398
+ | ``{{ value }} `` | The current (invalid) value |
399
+ +--------------------+-------------------------------------------------------+
400
+ | ``{{ choices }} `` | String list of available choices, separated by comas |
401
+ +--------------------+-------------------------------------------------------+
402
+
403
+ .. versionadded :: 4.3
404
+
405
+ The ``{{ choices }} `` parameter was introduced in Symfony 4.3.
394
406
395
407
.. include :: /reference/constraints/_payload-option.rst.inc
0 commit comments