@@ -170,12 +170,17 @@ value's length is not exactly this value.
170
170
171
171
You can use the following parameters in this message:
172
172
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.
179
184
180
185
.. include :: /reference/constraints/_groups-option.rst.inc
181
186
@@ -199,12 +204,17 @@ than the `max`_ option.
199
204
200
205
You can use the following parameters in this message:
201
206
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.
208
218
209
219
``min ``
210
220
~~~~~~~
@@ -230,12 +240,17 @@ than the `min`_ option.
230
240
231
241
You can use the following parameters in this message:
232
242
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.
239
254
240
255
.. include :: /reference/constraints/_normalizer-option.rst.inc
241
256
0 commit comments