Skip to content

Commit 127b089

Browse files
committed
Be more specific for the rendered field type
1 parent c1d6df4 commit 127b089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/datetime.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ format
107107
If the ``widget`` option is set to ``single_text``, this option specifies the
108108
the format of the input, i.e. how Symfony will interpret the given input
109109
as a datetime string. It defaults to the `RFC 3339`_ format which is used
110-
by the HTML5 ``datetime`` field. Keeping the default will render a field of
111-
type ``datetime``.
110+
by the HTML5 ``datetime`` field. Keeping the default value will cause the
111+
field to be rendered as an ``input`` field with ``type="datetime"``.
112112

113113
.. include:: /reference/forms/types/options/hours.rst.inc
114114

0 commit comments

Comments
 (0)