8000 fix displaying `empty_data` option for hidden field · symfony/symfony-docs@4a4d155 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a4d155

Browse files
committed
fix displaying empty_data option for hidden field
1 parent 0cda846 commit 4a4d155

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/forms/types/hidden.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ These options inherit from the :doc:`FormType </reference/forms/types/form>`:
5151
.. include:: /reference/forms/types/options/data.rst.inc
5252

5353
.. include:: /reference/forms/types/options/empty_data.rst.inc
54+
:end-before: DEFAULT_PLACEHOLDER
55+
56+
The default value is ``''`` (the empty string).
57+
58+
.. include:: /reference/forms/types/options/empty_data.rst.inc
59+
:start-after: DEFAULT_PLACEHOLDER
5460

5561
.. include:: /reference/forms/types/options/error_mapping.rst.inc
5662

0 commit comments

Comments
 (0)
0