File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ that you want to use for your number.
12
12
| Rendered as | ``input `` ``text `` field |
13
13
+-------------+----------------------------------------------------------------------+
14
14
| Options | - `grouping `_ |
15
+ | | - `html5 `_ |
15
16
| | - `scale `_ |
16
17
| | - `rounding_mode `_ |
17
18
+-------------+----------------------------------------------------------------------+
@@ -46,6 +47,18 @@ Field Options
46
47
47
48
.. include :: /reference/forms/types/options/grouping.rst.inc
48
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
+
49
62
scale
50
63
~~~~~
51
64
You can’t perform that action at this time.
0 commit comments