File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
reference/forms/types/options Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
1
property_path
2
2
~~~~~~~~~~~~~
3
3
4
- ** type** : ``any `` ** default** : ``the field ' s name ``
4
+ ** type** : ``PropertyPathInterface | string | null `` ** default** : ``null ``
5
5
6
6
Fields display a property value of the form' s domain object by default.
7
7
When the form is submitted, the submitted value is written back into the
8
8
object.
9
9
10
10
If you want to override the property that a field reads from and writes
11
- to, you can set the ``property_path`` option. Its default value is the field' s
12
- name.
13
-
14
- If you wish the field to be ignored when reading or writing to the object
15
- you can set the ``property_path`` option to ``false``, but using
16
- ``property_path`` for this purpose is deprecated, you should use the
17
- ``mapped`` option.
11
+ to, you can set the ``property_path`` option. Its default value (``null``)
12
+ will use the field' s name as the property.
You can’t perform that action at this time.
0 commit comments