We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03e4c0 commit bc5ac28Copy full SHA for bc5ac28
reference/forms/types/number.rst
@@ -12,6 +12,7 @@ that you want to use for your number.
12
| Rendered as | ``input`` ``text`` field |
13
+-------------+----------------------------------------------------------------------+
14
| Options | - `grouping`_ |
15
+| | - `html5`_ |
16
| | - `scale`_ |
17
| | - `rounding_mode`_ |
18
@@ -46,6 +47,18 @@ Field Options
46
47
48
.. include:: /reference/forms/types/options/grouping.rst.inc
49
50
+html5
51
+~~~~~
52
+
53
+**type**: ``boolean`` **default**: ``false``
54
55
+.. versionadded:: 4.3
56
57
+ The ``html5`` option was introduced in Symfony 4.3.
58
59
+If set to ``true``, the HTML input will be rendered as a native HTML5 ``type="number"``
60
+form.
61
62
scale
63
~~~~~
64
0 commit comments