Thanks to visit codestin.com Credit goes to github.com
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.
1 parent d2dce7f commit 5cfff92Copy full SHA for 5cfff92
1 file changed
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