File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
reference/forms/types/options Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 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)
Original file line number Diff line number Diff line change 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``.
Original file line number Diff line number Diff line change 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``.
You can’t perform that action at this time.
0 commit comments