Skip to content

Commit 77c98fe

Browse files
janklanOskarStark
authored andcommitted
Fix incorrect placement of is_empty_callback
1 parent 0e112e5 commit 77c98fe

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

reference/forms/types/form.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,17 @@ The actual default value of this option depends on other field options:
6161
* If ``data_class`` is not set and ``compound`` is ``false``, then ``''``
6262
(empty string).
6363

64+
.. include:: /reference/forms/types/options/empty_data_description.rst.inc
65+
66+
.. _reference-form-option-error-bubbling:
67+
6468
``is_empty_callback``
6569
~~~~~~~~~~~~~~~~~~~~~
6670

6771
**type**: ``callable`` **default**: ``null``
6872

6973
This callable takes form data and returns whether value is considered empty.
7074

71-
.. include:: /reference/forms/types/options/empty_data_description.rst.inc
72-
73-
.. _reference-form-option-error-bubbling:
7475

7576
.. include:: /reference/forms/types/options/error_bubbling.rst.inc
7677

0 commit comments

Comments
 (0)