Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6fcdd89

Browse filesBrowse files
XitasoChrisweaverryan
authored andcommitted
Add possible values for widget_type
The documentation does not list which values are possible for widget_type. These two are the ones I extracted from the Symfony2 source code.
1 parent 49314e7 commit 6fcdd89
Copy full SHA for 6fcdd89

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎reference/forms/types/datetime.rst

Copy file name to clipboardExpand all lines: reference/forms/types/datetime.rst
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ date_widget
6363

6464
**type**: ``string`` **default**: ``choice``
6565

66-
Defines the ``widget`` option for the :doc:`date </reference/forms/types/date>` type
66+
Defines the ``widget`` option for the :doc:`date </reference/forms/types/date>` type.
67+
Possible values: ``single_text`` (display as text field), ``choice`` (provide select
68+
boxes for day, month and year)
6769

6870
.. include:: /reference/forms/types/options/days.rst.inc
6971

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.