diff --git a/reference/forms/types/text.rst b/reference/forms/types/text.rst index c7002a79a08..87db07aee0a 100644 --- a/reference/forms/types/text.rst +++ b/reference/forms/types/text.rst @@ -28,15 +28,12 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/disabled.rst.inc .. include:: /reference/forms/types/options/empty_data.rst.inc - :end-before: DEFAULT_PLACEHOLDER + :start-after: DEFAULT_PLACEHOLDER From an HTTP perspective, submitted data is always a string or an array of strings. So by default, the form will treat any empty string as null. If you prefer to get an empty string, explicitly set the ``empty_data`` option to an empty string. -.. include:: /reference/forms/types/options/empty_data.rst.inc - :start-after: DEFAULT_PLACEHOLDER - .. include:: /reference/forms/types/options/error_bubbling.rst.inc .. include:: /reference/forms/types/options/error_mapping.rst.inc