File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,16 @@ The actual default value of this option depends on other field options:
76
76
77
77
.. include :: /reference/forms/types/options/form_attr.rst.inc
78
78
79
+ ``getter ``
80
+ ~~~~~~~~~~
81
+
82
+ **type **: ``callable `` **default **: ``null ``
83
+
84
+ When provided, this callable will be invoked to read the value from
85
+ the underlying object that will be used to populate the form field.
86
+
87
+ More details are available in the section on :doc: `/form/data_mappers `.
88
+
79
89
.. include :: /reference/forms/types/options/help.rst.inc
80
90
81
91
.. include :: /reference/forms/types/options/help_attr.rst.inc
@@ -112,6 +122,16 @@ The actual default value of this option depends on other field options:
112
122
113
123
.. include :: /reference/forms/types/options/required.rst.inc
114
124
125
+ ``setter ``
126
+ ~~~~~~~~~~
127
+
128
+ **type **: ``callable `` **default **: ``null ``
129
+
130
+ When provided, this callable will be invoked to map the form value
131
+ back to the the underlying object.
132
+
133
+ More details are available in the section on :doc: `/form/data_mappers `.
134
+
115
135
.. include :: /reference/forms/types/options/trim.rst.inc
116
136
117
137
.. include :: /reference/forms/types/options/validation_groups.rst.inc
You can’t perform that action at this time.
0 commit comments