From 4a4d155885bd94636aa397adce4597b18ab161cc Mon Sep 17 00:00:00 2001 From: Oleksandr Savchenko Date: Thu, 2 Apr 2020 21:03:59 +0300 Subject: [PATCH] fix displaying `empty_data` option for hidden field --- reference/forms/types/hidden.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/forms/types/hidden.rst b/reference/forms/types/hidden.rst index fd7ab6cc1f4..ba1b6421d76 100644 --- a/reference/forms/types/hidden.rst +++ b/reference/forms/types/hidden.rst @@ -51,6 +51,12 @@ These options inherit from the :doc:`FormType `: .. include:: /reference/forms/types/options/data.rst.inc .. include:: /reference/forms/types/options/empty_data.rst.inc + :end-before: DEFAULT_PLACEHOLDER + +The default value is ``''`` (the empty string). + +.. include:: /reference/forms/types/options/empty_data.rst.inc + :start-after: DEFAULT_PLACEHOLDER .. include:: /reference/forms/types/options/error_mapping.rst.inc