Skip to content

Commit 6fcdd89

Browse files
XitasoChrisweaverryan
XitasoChris
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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: reference/forms/types/datetime.rst

+3-1
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)