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 dd2788c + 5cfff92 commit ee81654Copy full SHA for ee81654
reference/forms/types/text.rst
@@ -44,7 +44,9 @@ These options inherit from the :doc:`FormType </reference/forms/types/form>`:
44
.. include:: /reference/forms/types/options/empty_data.rst.inc
45
:end-before: DEFAULT_PLACEHOLDER
46
47
-The default value is ``''`` (the empty string).
+From an HTTP perspective, submitted data is always a string or an array of strings.
48
+So by default, the form will treat any empty string as null. If you prefer to get
49
+an empty string, explicitly set the ``empty_data`` option to an empty string.
50
51
52
:start-after: DEFAULT_PLACEHOLDER
0 commit comments