Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

document the DateTimeType widget option #3152

Merged
merged 1 commit into from
Nov 7, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions reference/forms/types/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ data can be a ``DateTime`` object, a string, a timestamp or an array.
+----------------------+-----------------------------------------------------------------------------+
| Options | - `date_widget`_ |
| | - `time_widget`_ |
| | - `widget`_ |
| | - `input`_ |
| | - `date_format`_ |
| | - `hours`_ |
Expand Down Expand Up @@ -59,6 +60,15 @@ time_widget

Defines the ``widget`` option for the :doc:`time </reference/forms/types/time>` type

widget
~~~~~~

**type**: ``string`` **default**: ``null``

Defines the ``widget`` option for both the :doc:`date </reference/forms/types/date>`
type and :doc:`time </reference/forms/types/time>` type. Can be overridden with
the `date_widget`_ and `time_widget`_ options.

input
~~~~~

Expand Down