Skip to content

Commit a4e0dc1

Browse files
committed
[Form] Remove repeated options in Form types
1 parent b3b618a commit a4e0dc1

36 files changed

+0
-877
lines changed

reference/forms/types/birthday.rst

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,6 @@ option defaults to 120 years ago to the current year.
2020
+----------------------+-------------------------------------------------------------------------------+
2121
| Rendered as | can be three select boxes or 1 or 3 text boxes, based on the `widget`_ option |
2222
+----------------------+-------------------------------------------------------------------------------+
23-
| Overridden options | - `years`_ |
24-
+----------------------+-------------------------------------------------------------------------------+
25-
| Inherited options | from the :doc:`DateType </reference/forms/types/date>`: |
26-
| | |
27-
| | - `choice_translation_domain`_ |
28-
| | - `days`_ |
29-
| | - `placeholder`_ |
30-
| | - `format`_ |
31-
| | - `input`_ |
32-
| | - `input_format`_ |
33-
| | - `model_timezone`_ |
34-
| | - `months`_ |
35-
| | - `view_timezone`_ |
36-
| | - `widget`_ |
37-
| | |
38-
| | from the :doc:`FormType </reference/forms/types/form>`: |
39-
| | |
40-
| | - `attr`_ |
41-
| | - `data`_ |
42-
| | - `disabled`_ |
43-
| | - `help`_ |
44-
| | - `help_attr`_ |
45-
| | - `help_html`_ |
46-
| | - `inherit_data`_ |
47-
| | - `invalid_message`_ |
48-
| | - `invalid_message_parameters`_ |
49-
| | - `mapped`_ |
50-
| | - `row_attr`_ |
51-
+----------------------+-------------------------------------------------------------------------------+
5223
| Parent type | :doc:`DateType </reference/forms/types/date>` |
5324
+----------------------+-------------------------------------------------------------------------------+
5425
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\BirthdayType` |

reference/forms/types/button.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ A simple, non-responsive button.
99
+----------------------+----------------------------------------------------------------------+
1010
| Rendered as | ``button`` tag |
1111
+----------------------+----------------------------------------------------------------------+
12-
| Inherited | - `attr`_ |
13-
| options | - `attr_translation_parameters`_ |
14-
| | - `disabled`_ |
15-
| | - `label`_ |
16-
| | - `label_translation_parameters`_ |
17-
| | - `row_attr`_ |
18-
| | - `translation_domain`_ |
19-
+----------------------+----------------------------------------------------------------------+
2012
| Parent type | none |
2113
+----------------------+----------------------------------------------------------------------+
2214
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ButtonType` |

reference/forms/types/checkbox.rst

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,6 @@ if you want to handle submitted values like "0" or "false").
1414
+-------------+------------------------------------------------------------------------+
1515
| Rendered as | ``input`` ``checkbox`` field |
1616
+-------------+------------------------------------------------------------------------+
17-
| Options | - `false_values`_ |
18-
| | - `value`_ |
19-
+-------------+------------------------------------------------------------------------+
20-
| Overridden | - `compound`_ |
21-
| options | - `empty_data`_ |
22-
+-------------+------------------------------------------------------------------------+
23-
| Inherited | - `attr`_ |
24-
| options | - `data`_ |
25-
| | - `disabled`_ |
26-
| | - `error_bubbling`_ |
27-
| | - `error_mapping`_ |
28-
| | - `help`_ |
29-
| | - `help_attr`_ |
30-
| | - `help_html`_ |
31-
| | - `label`_ |
32-
| | - `label_attr`_ |
33-
| | - `label_format`_ |
34-
| | - `mapped`_ |
35-
| | - `required`_ |
36-
| | - `row_attr`_ |
37-
+-------------+------------------------------------------------------------------------+
3817
| Parent type | :doc:`FormType </reference/forms/types/form>` |
3918
+-------------+------------------------------------------------------------------------+
4019
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CheckboxType` |

reference/forms/types/choice.rst

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,44 +12,6 @@ To use this field, you must specify *either* ``choices`` or ``choice_loader`` op
1212
+-------------+------------------------------------------------------------------------------+
1313
| Rendered as | can be various tags (see below) |
1414
+-------------+------------------------------------------------------------------------------+
15-
| Options | - `choices`_ |
16-
| | - `choice_attr`_ |
17-
| | - `choice_label`_ |
18-
| | - `choice_loader`_ |
19-
| | - `choice_name`_ |
20-
| | - `choice_translation_domain`_ |
21-
| | - `choice_value`_ |
22-
| | - `expanded`_ |
23-
| | - `group_by`_ |
24-
| | - `multiple`_ |
25-
| | - `placeholder`_ |
26-
| | - `preferred_choices`_ |
27-
+-------------+------------------------------------------------------------------------------+
28-
| Overridden | - `compound`_ |
29-
| options | - `empty_data`_ |
30-
| | - `error_bubbling`_ |
31-
| | - `trim`_ |
32-
+-------------+------------------------------------------------------------------------------+
33-
| Inherited | - `attr`_ |
34-
| options | - `by_reference`_ |
35-
| | - `data`_ |
36-
| | - `disabled`_ |
37-
| | - `error_mapping`_ |
38-
| | - `help`_ |
39-
| | - `help_attr`_ |
40-
| | - `help_html`_ |
41-
| | - `inherit_data`_ |
42-
| | - `label`_ |
43-
| | - `label_attr`_ |
44-
| | - `label_format`_ |
45-
| | - `mapped`_ |
46-
| | - `required`_ |
47-
| | - `row_attr`_ |
48-
| | - `translation_domain`_ |
49-
| | - `label_translation_parameters`_ |
50-
| | - `attr_translation_parameters`_ |
51-
| | - `help_translation_parameters`_ |
52-
+-------------+------------------------------------------------------------------------------+
5315
| Parent type | :doc:`FormType </reference/forms/types/form>` |
5416
+-------------+------------------------------------------------------------------------------+
5517
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType` |

reference/forms/types/collection.rst

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,6 @@ photos).
1414
+-------------+-----------------------------------------------------------------------------+
1515
| Rendered as | depends on the `entry_type`_ option |
1616
+-------------+-----------------------------------------------------------------------------+
17-
| Options | - `allow_add`_ |
18-
| | - `allow_delete`_ |
19-
| | - `delete_empty`_ |
20-
| | - `entry_options`_ |
21-
| | - `entry_type`_ |
22-
| | - `prototype`_ |
23-
| | - `prototype_data`_ |
24-
| | - `prototype_name`_ |
25-
+-------------+-----------------------------------------------------------------------------+
26-
| Inherited | - `attr`_ |
27-
| options | - `by_reference`_ |
28-
| | - `empty_data`_ |
29-
| | - `error_bubbling`_ |
30-
| | - `error_mapping`_ |
31-
| | - `help`_ |
32-
| | - `help_attr`_ |
33-
| | - `help_html`_ |
34-
| | - `label`_ |
35-
| | - `label_attr`_ |
36-
| | - `label_format`_ |
37-
| | - `mapped`_ |
38-
| | - `required`_ |
39-
| | - `row_attr`_ |
40-
+-------------+-----------------------------------------------------------------------------+
4117
| Parent type | :doc:`FormType </reference/forms/types/form>` |
4218
+-------------+-----------------------------------------------------------------------------+
4319
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CollectionType` |

reference/forms/types/color.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,6 @@ element.
1717
+-------------+---------------------------------------------------------------------+
1818
| Rendered as | ``input`` ``color`` field (a text box) |
1919
+-------------+---------------------------------------------------------------------+
20-
| Inherited | - `attr`_ |
21-
| options | - `data`_ |
22-
| | - `disabled`_ |
23-
| | - `empty_data`_ |
24-
| | - `error_bubbling`_ |
25-
| | - `error_mapping`_ |
26-
| | - `help`_ |
27-
| | - `help_attr`_ |
28-
| | - `help_html`_ |
29-
| | - `label`_ |
30-
| | - `label_attr`_ |
31-
| | - `label_format`_ |
32-
| | - `mapped`_ |
33-
| | - `required`_ |
34-
| | - `row_attr`_ |
35-
| | - `trim`_ |
36-
+-------------+---------------------------------------------------------------------+
3720
| Parent type | :doc:`TextType </reference/forms/types/text>` |
3821
+-------------+---------------------------------------------------------------------+
3922
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ColorType` |

reference/forms/types/country.rst

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,38 +21,6 @@ the option manually, but then you should just use the ``ChoiceType`` directly.
2121
+-------------+-----------------------------------------------------------------------+
2222
| Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) |
2323
+-------------+-----------------------------------------------------------------------+
24-
| Options | - `alpha3`_ |
25-
| | - `choice_translation_locale`_ |
26-
+-------------+-----------------------------------------------------------------------+
27-
| Overridden | - `choices`_ |
28-
| options | - `choice_translation_domain`_ |
29-
+-------------+-----------------------------------------------------------------------+
30-
| Inherited | from the :doc:`ChoiceType </reference/forms/types/choice>` |
31-
| options | |
32-
| | - `error_bubbling`_ |
33-
| | - `error_mapping`_ |
34-
| | - `expanded`_ |
35-
| | - `multiple`_ |
36-
| | - `placeholder`_ |
37-
| | - `preferred_choices`_ |
38-
| | - `trim`_ |
39-
| | |
40-
| | from the :doc:`FormType </reference/forms/types/form>` |
41-
| | |
42-
| | - `attr`_ |
43-
| | - `data`_ |
44-
| | - `disabled`_ |
45-
| | - `empty_data`_ |
46-
| | - `help`_ |
47-
| | - `help_attr`_ |
48-
| | - `help_html`_ |
49-
| | - `label`_ |
50-
| | - `label_attr`_ |
51-
| | - `label_format`_ |
52-
| | - `mapped`_ |
53-
| | - `required`_ |
54-
| | - `row_attr`_ |
55-
+-------------+-----------------------------------------------------------------------+
5624
| Parent type | :doc:`ChoiceType </reference/forms/types/choice>` |
5725
+-------------+-----------------------------------------------------------------------+
5826
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CountryType` |

0 commit comments

Comments
 (0)