We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72fa7b4 commit ea93980Copy full SHA for ea93980
reference/forms/types/options/empty_data.rst.inc
@@ -8,8 +8,8 @@ choice is selected.
8
9
The true default value of this option depends on the field options:
10
11
-* If ``data_class`` is set and ``required`` is ``true``, then ``null``;
12
-* If ``data_class`` is set and ``required`` is ``false``, then ``new $data_class()``;
+* If ``data_class`` is set and ``required`` is ``true``, then ``new $data_class()``;
+* If ``data_class`` is set and ``required`` is ``false``, then ``null``;
13
* If ``data_class`` is not set and ``compound`` is ``true``, then ``array()``;
14
* If ``data_class`` is not set and ``compound`` is ``false``, then ``null``.
15
0 commit comments