Skip to content

Commit 7f8e09a

Browse files
committed
Removed a duplicated option explanation in "file" type
1 parent 48b402b commit 7f8e09a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

reference/forms/types/file.rst

+3-7
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ The ``file`` type represents a file input in your form.
1414
| | - `empty_data`_ |
1515
+-------------+---------------------------------------------------------------------+
1616
| Inherited | - `disabled`_ |
17-
| options | - `empty_data`_ |
18-
| | - `error_bubbling`_ |
17+
| options | - `error_bubbling`_ |
1918
| | - `error_mapping`_ |
2019
| | - `label`_ |
2120
| | - `label_attr`_ |
@@ -45,8 +44,8 @@ empty_data
4544

4645
**default**: ``null``
4746

48-
This option is set to ``null`` automatically because it is not used by the
49-
renderd field widget.
47+
This option determines what value the field will return when the submitted
48+
value is empty.
5049

5150
Basic Usage
5251
-----------
@@ -111,9 +110,6 @@ type:
111110

112111
The default value is ``null``.
113112

114-
.. include:: /reference/forms/types/options/empty_data.rst.inc
115-
:start-after: DEFAULT_PLACEHOLDER
116-
117113
.. include:: /reference/forms/types/options/error_bubbling.rst.inc
118114

119115
.. include:: /reference/forms/types/options/error_mapping.rst.inc

0 commit comments

Comments
 (0)