Skip to content

Commit 68e05bd

Browse files
committed
[Reference][Form][Type][dateType] options days,months,years
1 parent 7a2a5fe commit 68e05bd

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
* ``days`` [type: integer, default: 1 to 31 ]
2-
List of days available to the day field type. This option is only relevant when the ``widget`` option is set to ``choice``.
1+
* ``days`` [type: array, default: 1 to 31 ]
2+
List of days available to the day field type. This option is only relevant when the ``widget`` option is set to ``choice``.
3+
4+
..code_block:: php
5+
6+
'days'=>range(1,31)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
* ``months`` [type: integer, default: 1 to 12 ]
2-
List of months available to the month field type. This option is only relevant when the ``widget`` option is set to ``choice``.
1+
* ``months`` [type: array, default: 1 to 12 ]
2+
List of months available to the month field type. This option is only relevant when the ``widget`` option is set to ``choice``.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
* ``years`` [type: integer, default: five years before to five years after the current year ]
2-
List of years available to the year field type. This option is only relevant when the ``widget`` option is set to ``choice``.
1+
* ``years`` [type: array, default: five years before to five years after the current year ]
2+
List of years available to the year field type. This option is only relevant when the ``widget`` option is set to ``choice``.

0 commit comments

Comments
 (0)