@@ -170,12 +170,17 @@ value's length is not exactly this value.
170170
171171You can use the following parameters in this message:
172172
173- ================= ============================================================
174- Parameter Description
175- ================= ============================================================
176- ``{{ limit }} `` The exact expected length
177- ``{{ value }} `` The current (invalid) value
178- ================= ============================================================
173+ ====================== ============================================================
174+ Parameter Description
175+ ====================== ============================================================
176+ ``{{ limit }} `` The exact expected length
177+ ``{{ value }} `` The current (invalid) value
178+ ``{{ value_length }} `` The current value's length
179+ ====================== ============================================================
180+
181+ .. versionadded :: 6.3
182+
183+ The `{{ value_length }} ` parameter was introduced in Symfony 6.3.
179184
180185.. include :: /reference/constraints/_groups-option.rst.inc
181186
@@ -199,12 +204,17 @@ than the `max`_ option.
199204
200205You can use the following parameters in this message:
201206
202- ================= ============================================================
203- Parameter Description
204- ================= ============================================================
205- ``{{ limit }} `` The expected maximum length
206- ``{{ value }} `` The current (invalid) value
207- ================= ============================================================
207+ ====================== ============================================================
208+ Parameter Description
209+ ====================== ============================================================
210+ ``{{ limit }} `` The expected maximum length
211+ ``{{ value }} `` The current (invalid) value
212+ ``{{ value_length }} `` The current value's length
213+ ====================== ============================================================
214+
215+ .. versionadded :: 6.3
216+
217+ The `{{ value_length }} ` parameter was introduced in Symfony 6.3.
208218
209219``min ``
210220~~~~~~~
@@ -230,12 +240,17 @@ than the `min`_ option.
230240
231241You can use the following parameters in this message:
232242
233- ================= ============================================================
234- Parameter Description
235- ================= ============================================================
236- ``{{ limit }} `` The expected minimum length
237- ``{{ value }} `` The current (invalid) value
238- ================= ============================================================
243+ ====================== ============================================================
244+ Parameter Description
245+ ====================== ============================================================
246+ ``{{ limit }} `` The expected minimum length
247+ ``{{ value }} `` The current (invalid) value
248+ ``{{ value_length }} `` The current value's length
249+ ====================== ============================================================
250+
251+ .. versionadded :: 6.3
252+
253+ The `{{ value_length }} ` parameter was introduced in Symfony 6.3.
239254
240255.. include :: /reference/constraints/_normalizer-option.rst.inc
241256
0 commit comments