File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ manually, but then you should just use the ``ChoiceType`` directly.
1717+-------------+------------------------------------------------------------------------+
1818| Rendered as | can be various tags (see :ref: `forms-reference-choice-tags `) |
1919+-------------+------------------------------------------------------------------------+
20+ | Options | - `input `_ |
21+ | | - `regions `_ |
22+ +-------------+------------------------------------------------------------------------+
2023| Overridden | - `choices `_ |
2124| options | |
2225+-------------+------------------------------------------------------------------------+
@@ -45,6 +48,27 @@ manually, but then you should just use the ``ChoiceType`` directly.
4548| Class | :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ TimezoneType ` |
4649+-------------+------------------------------------------------------------------------+
4750
51+ Fields Options
52+ --------------
53+
54+ input
55+ ~~~~~
56+
57+ **type **: ``string `` **default **: ``string ``
58+
59+ The format of the *input * data - i.e. the format that the timezone is stored
60+ on your underlying object. Valid values are:
61+
62+ * ``string `` (e.g. ``America/New_York ``)
63+ * ``datetimezone `` (a ``DateTimeZone `` object)
64+
65+ regions
66+ ~~~~~~~
67+
68+ **type **: ``int `` **default **: ``DateTimeZone::ALL ``
69+
70+ The available regions in the timezone choice list. For example: ``DateTimeZone::AMERICA | DateTimeZone::EUROPE ``
71+
4872Overridden Options
4973------------------
5074
You can’t perform that action at this time.
0 commit comments