8000 minor #13480 [Forms] fix displaying `empty_data` option for hidden fi… · symfony/symfony-docs@1382170 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1382170

Browse files
committed
minor #13480 [Forms] fix displaying empty_data option for hidden field (osavchenko)
This PR was merged into the 3.4 branch. Discussion ---------- [Forms] fix displaying `empty_data` option for hidden field I made a mistake on my previous PR #13458 which cause new issue #13471. Fixes #13471. Commits ------- 4a4d155 fix displaying `empty_data` option for hidden field
2 parents 32af5a3 + 4a4d155 commit 1382170

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