Skip to content

Commit 6fcdd89

Browse 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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

reference/forms/types/datetime.rst

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy