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 6ca04ad

Browse filesBrowse files
committed
minor #11004 clarify some DateTimeType widget options (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- clarify some DateTimeType widget options Commits ------- 6267fa0 clarify some DateTimeType widget options
2 parents 7bcb891 + 6267fa0 commit 6ca04ad
Copy full SHA for 6ca04ad

File tree

1 file changed

+7
-0
lines changed
Filter options

1 file changed

+7
-0
lines changed

‎reference/forms/types/datetime.rst

Copy file name to clipboardExpand all lines: reference/forms/types/datetime.rst
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,16 @@ Defines the ``format`` option that will be passed down to the date field.
6666
See the :ref:`DateType's format option <reference-forms-type-date-format>`
6767
for more details.
6868

69+
The ``date_format`` option does not have any effect when the form is rendered
70+
as an HTML5 datetime input.
71+
6972
date_widget
7073
~~~~~~~~~~~
7174

7275
.. include:: /reference/forms/types/options/date_widget_description.rst.inc
7376

77+
The ``date_widget`` option is ignored when the ``widget`` option is set to ``single_text``.
78+
7479
.. include:: /reference/forms/types/options/days.rst.inc
7580

7681
placeholder
@@ -149,6 +154,8 @@ time_widget
149154

150155
Defines the ``widget`` option for the :doc:`TimeType </reference/forms/types/time>`.
151156

157+
The ``time_widget`` option is ignored when the ``widget`` option is set to ``single_text``.
158+
152159
.. include:: /reference/forms/types/options/view_timezone.rst.inc
153160

154161
widget

0 commit comments

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