File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,20 @@ Parameter Description
302
302
``{{ value }} `` The current (invalid) value
303
303
================= ============================================================
304
304
305
+
306
+ match
307
+ ~~~~~
308
+
309
+ **type **: ``boolean `` **default **: ``true ``
310
+
311
+ When this option is ``false ``, the constraint checks that the given value is
312
+ not one of the values defined in the ``choices `` option. In practice, it makes
313
+ the ``Choice `` constraint behave like a ``NotChoice `` constraint.
314
+
315
+ .. versionadded :: 6.2
316
+
317
+ The ``match `` option was introduced in Symfony 6.2.
318
+
305
319
``message ``
306
320
~~~~~~~~~~~
307
321
Original file line number Diff line number Diff line change @@ -195,19 +195,6 @@ correct types will be assigned to the model.
195
195
196
196
.. include :: /reference/forms/types/options/group_by.rst.inc
197
197
198
- match
199
- ~~~~~
200
-
201
- **type **: ``boolean `` **default **: ``true ``
202
-
203
- When this option is ``false ``, the constraint checks that the given value is
204
- not one of the values defined in the ``choices `` option. In practice, it makes
205
- the ``Choice `` constraint behave like a ``NotChoice `` constraint.
206
-
207
- .. versionadded :: 6.2
208
-
209
- The ``match `` option was introduced in Symfony 6.2.
210
-
211
198
.. include :: /reference/forms/types/options/multiple.rst.inc
212
199
213
200
.. include :: /reference/forms/types/options/placeholder.rst.inc
You can’t perform that action at this time.
0 commit comments