File tree 2 files changed +4
-4
lines changed
reference/forms/types/options
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ choice is selected.
8
8
9
9
The true default value of this option depends on the field options:
10
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() ``;
11
+ * If ``data_class`` is set and ``required`` is ``true``, then ``new $data_class() ``;
12
+ * If ``data_class`` is set and ``required`` is ``false``, then ``null ``;
13
13
* If ``data_class`` is not set and ``compound`` is ``true``, then ``array()``;
14
14
* If ``data_class`` is not set and ``compound`` is ``false``, then ``null``.
15
15
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ your validation information.
12
12
13
13
.. note::
14
14
15
- The required option does also affect the way how empty data of your form is
16
- being handled. For further details check the `empty_data`_ option.
15
+ The required option also affects how empty data for each field is
16
+ handled. For more details, see the `empty_data`_ option.
17
17
18
18
.. _`HTML5 required attribute`: http:// diveintohtml5.info/forms.html
You can’t perform that action at this time.
0 commit comments