Skip to content

Commit 65c1669

Browse files
committed
bug #5124 #3412 correct overridden option name of timezone (alexandr-kalenyuk)
This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes #5124). Discussion ---------- #3412 correct overridden option name of timezone | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.6 | Fixed tickets | #3412 Commits ------- dd3b6fb #3412 correct overridden option name of timezone
2 parents e7cdb2b + dd3b6fb commit 65c1669

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/forms/types/timezone.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ you should just use the ``choice`` type directly.
1818
+-------------+------------------------------------------------------------------------+
1919
| Rendered as | can be various tags (see :ref:`forms-reference-choice-tags`) |
2020
+-------------+------------------------------------------------------------------------+
21-
| Overridden | - `choice_list`_ |
21+
| Overridden | - `choices`_ |
2222
| Options | |
2323
+-------------+------------------------------------------------------------------------+
2424
| Inherited | from the :doc:`choice </reference/forms/types/choice>` type |
@@ -49,12 +49,12 @@ you should just use the ``choice`` type directly.
4949
Overridden Options
5050
------------------
5151

52-
choice_list
53-
~~~~~~~~~~~
52+
choices
53+
~~~~~~~
5454

5555
**default**: :class:`Symfony\\Component\\Form\\Extension\\Core\\ChoiceList\\TimezoneChoiceList`
5656

57-
The Timezone type defaults the choice_list to all timezones returned by
57+
The Timezone type defaults the choices to all timezones returned by
5858
:phpmethod:`DateTimeZone::listIdentifiers`, broken down by continent.
5959

6060
Inherited Options

0 commit comments

Comments
 (0)