File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,10 @@ on all fields.
19
19
20
20
.. include :: /reference/forms/types/options/trim.rst.inc
21
21
22
+ .. include :: /reference/forms/types/options/mapped.rst.inc
23
+
22
24
.. include :: /reference/forms/types/options/property_path.rst.inc
23
25
24
26
.. include :: /reference/forms/types/options/attr.rst.inc
25
27
26
- .. include :: /reference/forms/types/options/translation_domain.rst.inc
28
+ .. include :: /reference/forms/types/options/translation_domain.rst.inc
Original file line number Diff line number Diff line change
1
+ mapped
2
+ ~~~~~~
3
+
4
+ **type **: ``boolean``
5
+
6
+ If you wish the field to be ignored when reading or writing to the object , you
7
+ can set the ``mapped`` option to ``false``
Original file line number Diff line number Diff line change @@ -11,4 +11,9 @@ you can set the ``property_path`` option. Its default value is the field's
11
11
name.
12
12
13
13
If you wish the field to be ignored when reading or writing to the object
14
- you can set the ``property_path`` option to ``false``
14
+ you can set the ``property_path`` option to ``false``, but using
15
+ ``property_path`` for this purpose is deprecated, you should do it the way
16
+ described below:
17
+
18
+ .. versionadded:: 2.1
19
+ Since 2.1, the ``mapped`` option has been added for this use-case.
You can’t perform that action at this time.
0 commit comments