Skip to content

Commit c21be25

Browse files
committed
minor #19143 [Reference] Form empty data option - Update repetitive text (MrYamous)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- [Reference] Form empty data option - Update repetitive text When I read this part of the documentation, I found these two paragraphs repetitive, so I made a small change to try make it clearer. Commits ------- 4a9b28f [Reference] Form empty data option - Update repetitive text
2 parents 6682b7b + 4a9b28f commit c21be25

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

reference/forms/types/options/empty_data_description.rst.inc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ This will still render an empty text box, but upon submission the ``John Doe``
1515
value will be set. Use the ``data`` or ``placeholder`` options to show this
1616
initial value in the rendered form.
1717

18-
If a form is compound, you can set ``empty_data`` as an array, object or
19-
closure. See the :doc:`/form/use_empty_data` article for more details about
20-
these options.
21-
2218
.. note::
2319

24-
If you want to set the ``empty_data`` option for your entire form class,
25-
see the :doc:`/form/use_empty_data` article.
20+
If a form is compound, you can set ``empty_data`` as an array, object or
21+
closure. This option can be set for your entire form class, see the
22+
:doc:`/form/use_empty_data` article for more details about these
23+
options.
2624

2725
.. caution::
2826

0 commit comments

Comments
 (0)