File tree 1 file changed +24
-0
lines changed
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.
17
17
+-------------+------------------------------------------------------------------------+
18
18
| Rendered as | can be various tags (see :ref: `forms-reference-choice-tags `) |
19
19
+-------------+------------------------------------------------------------------------+
20
+ | Options | - `input `_ |
21
+ | | - `regions `_ |
22
+ +-------------+------------------------------------------------------------------------+
20
23
| Overridden | - `choices `_ |
21
24
| options | |
22
25
+-------------+------------------------------------------------------------------------+
@@ -45,6 +48,27 @@ manually, but then you should just use the ``ChoiceType`` directly.
45
48
| Class | :class: `Symfony\\ Component\\ Form\\ Extension\\ Core\\ Type\\ TimezoneType ` |
46
49
+-------------+------------------------------------------------------------------------+
47
50
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
+
48
72
Overridden Options
49
73
------------------
50
74
You can’t perform that action at this time.
0 commit comments