8000 Merge pull request #1470 from Dinduks/removal_of_options_in_fieldtype… · lazymanc/symfony-docs@6b3d9e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b3d9e6

Browse files
committed
Merge pull request symfony#1470 from Dinduks/removal_of_options_in_fieldtype_pr_1469
[Form] Removal of options in FieldType
2 parents da3938b + 2efb055 commit 6b3d9e6

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

reference/forms/types/field.rst

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,5 @@
44
The Abstract "field" Type
55
=========================
66

7-
The ``field`` form type is not an actual field type you use, but rather
8-
functions as the parent field type for many other fields.
9-
10-
The ``field`` type predefines a couple of options:
11-
12-
.. include:: /reference/forms/types/options/data.rst.inc
13-
14-
.. include:: /reference/forms/types/options/required.rst.inc
15-
16-
.. include:: /reference/forms/types/options/disabled.rst.inc
17-
18-
.. include:: /reference/forms/types/options/trim.rst.inc
19-
20-
.. include:: /reference/forms/types/options/property_path.rst.inc
21-
22-
.. include:: /reference/forms/types/options/attr.rst.inc
23-
24-
.. include:: /reference/forms/types/options/translation_domain.rst.inc
7+
The ``field`` form type is deprecated as of Symfony 2.1.
8+
Please use the :doc:`Form field type</reference/forms/types/form.rst>` instead.

reference/forms/types/form.rst

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,22 @@
44
form Field Type
55
===============
66

7-
See :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType`.
7+
See :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType`.
8+
9+
The ``field`` type predefines a couple of options:
10+
11+
.. include:: /reference/forms/types/options/data.rst.inc
12+
13+
.. include:: /reference/forms/types/options/required.rst.inc
14+
15+
.. include:: /reference/forms/types/options/disabled.rst.inc
16+
17+
.. include:: /reference/forms/types/options/trim.rst.inc
18+
19+
.. include:: /reference/forms/types/options/property_path.rst.inc
20+
21+
.. include:: /reference/forms/types/options/attr.rst.inc
22+
23+
.. include:: /reference/forms/types/options/translation_domain.rst.inc
24+
25+
.. include:: /reference/forms/types/options/escape_label.rst.inc

0 commit comments

Comments
 (0)
0