Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8735384

Browse files
committed
Merge branch '2.4'
2 parents42084dd +ddaf1a2 commit8735384

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎reference/forms/types/options/empty_data.rst.inc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ choice is selected.
88

99
The true default value of this option depends on the field options:
1010

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``;
1313
* If ``data_class`` is not set and ``compound`` is ``true``, then ``array()``;
1414
* If ``data_class`` is not set and ``compound`` is ``false``, then ``null``.
1515

‎reference/forms/types/options/required.rst.inc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ your validation information.
1212

1313
.. note::
1414

15-
The required optiondoesalsoaffect the wayhow empty dataof your form is
16-
beinghandled. Forfurther details check the `empty_data`_ option.
15+
The required option alsoaffectshow empty datafor each field is
16+
handled. Formore details, see the `empty_data`_ option.
1717

1818
.. _`HTML5 required attribute`:http://diveintohtml5.info/forms.html

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp