Skip to content

Commit c70479a

Browse files
author
Grégoire Paris
committed
Document the mapped formType option
1 parent 2566445 commit c70479a

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

reference/forms/types/form.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on all fields.
1919

2020
.. include:: /reference/forms/types/options/trim.rst.inc
2121

22+
.. include:: /reference/forms/types/options/mapped.rst.inc
23+
2224
.. include:: /reference/forms/types/options/property_path.rst.inc
2325

2426
.. include:: /reference/forms/types/options/attr.rst.inc
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
property_path
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``

reference/forms/types/options/property_path.rst.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ name.
1212
1313
If you wish the field to be ignored when reading or writing to the object
1414
you can set the ``property_path`` option to ``false``
15+
16+
.. versionadded:: 2.1
17+
Since 2.1, the ``mapped`` option has been added for this use-case

0 commit comments

Comments
 (0)