Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit6fcdd89

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 parent49314e7 commit6fcdd89

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)

[8]ページ先頭

©2009-2025 Movatter.jp