We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 899b48a + 8189574 commit 3e22051Copy full SHA for 3e22051
cookbook/form/data_transformers.rst
@@ -97,6 +97,12 @@ for converting to and from the issue number and the ``Issue`` object::
97
If you want a new issue to be created when an unknown number is entered, you
98
can instantiate it rather than throwing the ``TransformationFailedException``.
99
100
+.. note::
101
+
102
+ When ``null`` is passed to the ``transform()`` method, your transformer
103
+ should return an equivalent value of the type it is transforming to (e.g.
104
+ an empty string, 0 for integers or 0.0 for floats).
105
106
Using the Transformer
107
---------------------
108
0 commit comments